mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
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 <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
4ea8c205e5
commit
59a75cef9d
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue