aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/atmel-mci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index fb279f4ed8b3..df0e8a88d85f 100644
--- a/drivers/mmc/host/atmel-mci.c
+++ b/drivers/mmc/host/atmel-mci.c
@@ -580,7 +580,7 @@ static void atmci_stop_dma(struct atmel_mci *host)
580 struct dma_chan *chan = host->data_chan; 580 struct dma_chan *chan = host->data_chan;
581 581
582 if (chan) { 582 if (chan) {
583 chan->device->device_terminate_all(chan); 583 chan->device->device_control(chan, DMA_TERMINATE_ALL, 0);
584 atmci_dma_cleanup(host); 584 atmci_dma_cleanup(host);
585 } else { 585 } else {
586 /* Data transfer was stopped by the interrupt handler */ 586 /* Data transfer was stopped by the interrupt handler */