From: Ashish Kalra Date: Wed, 29 Jul 2009 15:45:49 +0000 (+0530) Subject: sata_fsl: Defer non-ncq commands when ncq commands active X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f90f613c3ed7381209de8aa36458442b5130170b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git sata_fsl: Defer non-ncq commands when ncq commands active Fix for non-ncq & ncq commands causing timeouts when both are issued simultaneously to the same device. Signed-off-by: Ashish Kalra [fixed to be actual compileable C code -jg] Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index 94eaa432c40a..d344db42a002 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c @@ -1257,6 +1257,7 @@ static struct scsi_host_template sata_fsl_sht = { static struct ata_port_operations sata_fsl_ops = { .inherits = &sata_pmp_port_ops, + .qc_defer = ata_std_qc_defer, .qc_prep = sata_fsl_qc_prep, .qc_issue = sata_fsl_qc_issue, .qc_fill_rtf = sata_fsl_qc_fill_rtf,