Commit 59a75cef authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Tejun Heo

ata: sata_dwc_460ex: DMA is always a flow controller

In the original code the DMA is always a flow controller. Set this accordingly
in updated code.
Tested-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 4ea8c205
...@@ -311,7 +311,7 @@ static struct dma_async_tx_descriptor *dma_dwc_xfer_setup(struct ata_queued_cmd ...@@ -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) { if (qc->dma_dir == DMA_DEV_TO_MEM) {
sconf.src_addr = addr; sconf.src_addr = addr;
sconf.device_fc = true; sconf.device_fc = false;
} else { /* DMA_MEM_TO_DEV */ } else { /* DMA_MEM_TO_DEV */
sconf.dst_addr = addr; sconf.dst_addr = addr;
sconf.device_fc = false; sconf.device_fc = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment