aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/coh901318.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma/coh901318.c')
-rw-r--r--drivers/dma/coh901318.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/coh901318.c b/drivers/dma/coh901318.c
index f3505178ff4..187bb9eef4a 100644
--- a/drivers/dma/coh901318.c
+++ b/drivers/dma/coh901318.c
@@ -915,7 +915,7 @@ static int coh901318_alloc_chan_resources(struct dma_chan *chan)
915 coh901318_config(cohc, NULL); 915 coh901318_config(cohc, NULL);
916 916
917 cohc->allocated = 1; 917 cohc->allocated = 1;
918 chan->completed_cookie = chan->cookie = 1; 918 dma_cookie_init(chan);
919 919
920 spin_unlock_irqrestore(&cohc->lock, flags); 920 spin_unlock_irqrestore(&cohc->lock, flags);
921 921