aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_nv.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/sata_nv.c')
-rw-r--r--drivers/ata/sata_nv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c
index 64e99824d8c..7a283d5d68f 100644
--- a/drivers/ata/sata_nv.c
+++ b/drivers/ata/sata_nv.c
@@ -1409,7 +1409,7 @@ static void nv_adma_qc_prep(struct ata_queued_cmd *qc)
1409 BUG_ON(!(pp->flags & NV_ADMA_ATAPI_SETUP_COMPLETE) && 1409 BUG_ON(!(pp->flags & NV_ADMA_ATAPI_SETUP_COMPLETE) &&
1410 (qc->flags & ATA_QCFLAG_DMAMAP)); 1410 (qc->flags & ATA_QCFLAG_DMAMAP));
1411 nv_adma_register_mode(qc->ap); 1411 nv_adma_register_mode(qc->ap);
1412 ata_sff_qc_prep(qc); 1412 ata_bmdma_qc_prep(qc);
1413 return; 1413 return;
1414 } 1414 }
1415 1415
@@ -2012,7 +2012,7 @@ static int nv_swncq_port_start(struct ata_port *ap)
2012static void nv_swncq_qc_prep(struct ata_queued_cmd *qc) 2012static void nv_swncq_qc_prep(struct ata_queued_cmd *qc)
2013{ 2013{
2014 if (qc->tf.protocol != ATA_PROT_NCQ) { 2014 if (qc->tf.protocol != ATA_PROT_NCQ) {
2015 ata_sff_qc_prep(qc); 2015 ata_bmdma_qc_prep(qc);
2016 return; 2016 return;
2017 } 2017 }
2018 2018