mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
DMAENGINE: extend the control command to include an arg
This adds an argument to the DMAengine control function, so that we can later provide control commands that need some external data passed in through an argument akin to the ioctl() operation prototype. [[email protected]: fix up some missed conversions] Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Dan Williams <[email protected]>
This commit is contained in:
parent
4aed79b281
commit
058276303d
14 changed files with 32 additions and 21 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue