]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ata: sata_dwc_460ex: DMA is always a flow controller
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 26 Apr 2016 09:03:06 +0000 (12:03 +0300)
committerTejun Heo <tj@kernel.org>
Tue, 10 May 2016 16:29:18 +0000 (12:29 -0400)
In the original code the DMA is always a flow controller. Set this accordingly
in updated code.

Tested-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

index 4cac27de51633f8ad0ec6bcc47e3e48dc656a11d..1250e18ad8562edf8a3a19c47080b38720364e0b 100644 (file)
@@ -311,7 +311,7 @@ static struct dma_async_tx_descriptor *dma_dwc_xfer_setup(struct ata_queued_cmd
 
        if (qc->dma_dir == DMA_DEV_TO_MEM) {
                sconf.src_addr = addr;
-               sconf.device_fc = true;
+               sconf.device_fc = false;
        } else {        /* DMA_MEM_TO_DEV */
                sconf.dst_addr = addr;
                sconf.device_fc = false;