]> git.baikalelectronics.ru Git - kernel.git/commit
ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Apr 2016 09:03:09 +0000 (12:03 +0300)
committerTejun Heo <tj@kernel.org>
Tue, 10 May 2016 16:29:19 +0000 (12:29 -0400)
commitc3e4486e0c2c2e84457081948e9a74ee3eb4a2b6
tree348b506b1945cad3f069906edd6cb0d497f33844
parent30028a9fd69f1b537cdb05fd570ae05d58e5417c
ata: sata_dwc_460ex: don't call ata_sff_qc_issue() on DMA commands

ata_sff_qc_issue() can't handle DMA commands and thus we have to avoid it for
them. Do call ata_bmdma_qc_issue() instead for this case. Note that the former
one distinguishes PIO and DMA mode and behaves accordingly.

Suggested-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/sata_dwc_460ex.c