]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/mmc/host/atmel-mci.c
DMAENGINE: extend the control command to include an arg
[net-next-2.6.git] / drivers / mmc / host / atmel-mci.c
index ae6d24ba4f081cd7a77cc3dc04f8df9016a8e19b..fd2d24f814783e33f4dea0898b304d2ccc029c97 100644 (file)
@@ -578,7 +578,7 @@ static void atmci_stop_dma(struct atmel_mci *host)
        struct dma_chan *chan = host->data_chan;
 
        if (chan) {
-               chan->device->device_control(chan, DMA_TERMINATE_ALL);
+         chan->device->device_control(chan, DMA_TERMINATE_ALL, 0);
                atmci_dma_cleanup(host);
        } else {
                /* Data transfer was stopped by the interrupt handler */