aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/sata_dwc_460ex.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2016-04-26 12:03:06 +0300
committerTejun Heo <tj@kernel.org>2016-05-10 12:29:18 -0400
commit59a75cef9de055e79779600f983c45580b902e6d (patch)
tree3ae2fe118ab254043a4a5df74e84c0d49de2fd4d /drivers/ata/sata_dwc_460ex.c
parentata: sata_dwc_460ex: burst size must be in items not bytes (diff)
downloadlinux-dev-59a75cef9de055e79779600f983c45580b902e6d.tar.xz
linux-dev-59a75cef9de055e79779600f983c45580b902e6d.zip
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: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata/sata_dwc_460ex.c')
-rw-r--r--drivers/ata/sata_dwc_460ex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/sata_dwc_460ex.c b/drivers/ata/sata_dwc_460ex.c
index 4cac27de5163..1250e18ad856 100644
--- a/drivers/ata/sata_dwc_460ex.c
+++ b/drivers/ata/sata_dwc_460ex.c
@@ -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;