From 59a75cef9de055e79779600f983c45580b902e6d Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Tue, 26 Apr 2016 12:03:06 +0300 Subject: [PATCH] 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 Signed-off-by: Andy Shevchenko Signed-off-by: Tejun Heo --- drivers/ata/sata_dwc_460ex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.20.1