Commit 6ca3a7a9 authored by Steven J. Magnani's avatar Steven J. Magnani Committed by Dan Williams

fsldma: Fix cookie issues

fsl_dma_tx_submit() only sets the cookie on the first descriptor of a
transaction. It should set the cookie on all.
Signed-off-by: default avatarSteven J. Magnani <steve@digidescorp.com>
Acked-by: default avatarIra W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 9ad7bd29
...@@ -362,7 +362,7 @@ static dma_cookie_t fsl_dma_tx_submit(struct dma_async_tx_descriptor *tx) ...@@ -362,7 +362,7 @@ static dma_cookie_t fsl_dma_tx_submit(struct dma_async_tx_descriptor *tx)
if (cookie < 0) if (cookie < 0)
cookie = 1; cookie = 1;
desc->async_tx.cookie = cookie; child->async_tx.cookie = cookie;
} }
chan->common.cookie = cookie; chan->common.cookie = cookie;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment