Skip to content

Commit 660cd0d

Browse files
jmartincVinod Koul
authored andcommitted
dmaengine: i.MX: Fix merge of cookie branch.
When merging DMA cookie changes a small chunk of code was dropped. This broke imx-dma driver. This patch adds this chunk again and fixes the problem. Signed-off-by: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
1 parent f606ab8 commit 660cd0d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/dma/imx-dma.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ static dma_cookie_t imxdma_tx_submit(struct dma_async_tx_descriptor *tx)
679679
unsigned long flags;
680680

681681
spin_lock_irqsave(&imxdma->lock, flags);
682+
list_move_tail(imxdmac->ld_free.next, &imxdmac->ld_queue);
682683
cookie = dma_cookie_assign(tx);
683684
spin_unlock_irqrestore(&imxdma->lock, flags);
684685

0 commit comments

Comments
 (0)