diff options
Diffstat (limited to 'drivers/dma/coh901318.c')
-rw-r--r-- | drivers/dma/coh901318.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c index 4233440741a2..a724e6be1b4d 100644 --- a/drivers/dma/coh901318.c +++ b/drivers/dma/coh901318.c | |||
@@ -942,7 +942,7 @@ coh901318_free_chan_resources(struct dma_chan *chan) | |||
942 | 942 | ||
943 | spin_unlock_irqrestore(&cohc->lock, flags); | 943 | spin_unlock_irqrestore(&cohc->lock, flags); |
944 | 944 | ||
945 | chan->device->device_control(chan, DMA_TERMINATE_ALL); | 945 | chan->device->device_control(chan, DMA_TERMINATE_ALL, 0); |
946 | } | 946 | } |
947 | 947 | ||
948 | 948 | ||
@@ -1176,7 +1176,8 @@ coh901318_issue_pending(struct dma_chan *chan) | |||
1176 | } | 1176 | } |
1177 | 1177 | ||
1178 | static int | 1178 | static int |
1179 | coh901318_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd) | 1179 | coh901318_control(struct dma_chan *chan, enum dma_ctrl_cmd cmd, |
1180 | unsigned long arg) | ||
1180 | { | 1181 | { |
1181 | unsigned long flags; | 1182 | unsigned long flags; |
1182 | struct coh901318_chan *cohc = to_coh901318_chan(chan); | 1183 | struct coh901318_chan *cohc = to_coh901318_chan(chan); |