diff options
Diffstat (limited to 'drivers/mmc')
-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 88be37d9e9a5..c293ac4ee150 100644 --- a/drivers/mmc/host/atmel-mci.c +++ b/drivers/mmc/host/atmel-mci.c | |||
@@ -579,7 +579,7 @@ static void atmci_stop_dma(struct atmel_mci *host) | |||
579 | struct dma_chan *chan = host->data_chan; | 579 | struct dma_chan *chan = host->data_chan; |
580 | 580 | ||
581 | if (chan) { | 581 | if (chan) { |
582 | chan->device->device_terminate_all(chan); | 582 | chan->device->device_control(chan, DMA_TERMINATE_ALL, 0); |
583 | atmci_dma_cleanup(host); | 583 | atmci_dma_cleanup(host); |
584 | } else { | 584 | } else { |
585 | /* Data transfer was stopped by the interrupt handler */ | 585 | /* Data transfer was stopped by the interrupt handler */ |