diff options
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r-- | drivers/mmc/host/atmel-mci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c index 8072128e933b..ae6d24ba4f08 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c | |||
@@ -578,7 +578,7 @@ static void atmci_stop_dma(struct atmel_mci *host) | |||
578 | struct dma_chan *chan = host->data_chan; | 578 | struct dma_chan *chan = host->data_chan; |
579 | 579 | ||
580 | if (chan) { | 580 | if (chan) { |
581 | chan->device->device_terminate_all(chan); | 581 | chan->device->device_control(chan, DMA_TERMINATE_ALL); |
582 | atmci_dma_cleanup(host); | 582 | atmci_dma_cleanup(host); |
583 | } else { | 583 | } else { |
584 | /* Data transfer was stopped by the interrupt handler */ | 584 | /* Data transfer was stopped by the interrupt handler */ |