diff options
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/fsldma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index cbd5b9684521..ad2f938597e2 100644 --- a/drivers/dma/fsldma.c +++ b/drivers/dma/fsldma.c | |||
@@ -539,7 +539,6 @@ static void fsl_chan_ld_cleanup(struct fsl_dma_chan *fsl_chan) | |||
539 | 539 | ||
540 | spin_lock_irqsave(&fsl_chan->desc_lock, flags); | 540 | spin_lock_irqsave(&fsl_chan->desc_lock, flags); |
541 | 541 | ||
542 | fsl_dma_update_completed_cookie(fsl_chan); | ||
543 | dev_dbg(fsl_chan->dev, "chan completed_cookie = %d\n", | 542 | dev_dbg(fsl_chan->dev, "chan completed_cookie = %d\n", |
544 | fsl_chan->completed_cookie); | 543 | fsl_chan->completed_cookie); |
545 | list_for_each_entry_safe(desc, _desc, &fsl_chan->ld_queue, node) { | 544 | list_for_each_entry_safe(desc, _desc, &fsl_chan->ld_queue, node) { |
@@ -710,6 +709,7 @@ static irqreturn_t fsl_dma_chan_do_interrupt(int irq, void *data) | |||
710 | dev_dbg(fsl_chan->dev, "event: clndar %p, nlndar %p\n", | 709 | dev_dbg(fsl_chan->dev, "event: clndar %p, nlndar %p\n", |
711 | (void *)get_cdar(fsl_chan), (void *)get_ndar(fsl_chan)); | 710 | (void *)get_cdar(fsl_chan), (void *)get_ndar(fsl_chan)); |
712 | stat &= ~FSL_DMA_SR_EOSI; | 711 | stat &= ~FSL_DMA_SR_EOSI; |
712 | fsl_dma_update_completed_cookie(fsl_chan); | ||
713 | } | 713 | } |
714 | 714 | ||
715 | /* If it current transfer is the end-of-transfer, | 715 | /* If it current transfer is the end-of-transfer, |