aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dma')
-rw-r--r--drivers/dma/fsldma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
index 92efa87258b9..6541ebf8bf63 100644
--- a/drivers/dma/fsldma.c
+++ b/drivers/dma/fsldma.c
@@ -362,7 +362,7 @@ static dma_cookie_t fsl_dma_tx_submit(struct dma_async_tx_descriptor *tx)
362 if (cookie < 0) 362 if (cookie < 0)
363 cookie = 1; 363 cookie = 1;
364 364
365 desc->async_tx.cookie = cookie; 365 child->async_tx.cookie = cookie;
366 } 366 }
367 367
368 chan->common.cookie = cookie; 368 chan->common.cookie = cookie;