mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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: Steven J. Magnani <[email protected]> Acked-by: Ira W. Snyder <[email protected]> Signed-off-by: Dan Williams <[email protected]>
This commit is contained in:
parent
9ad7bd2944
commit
6ca3a7a96e
1 changed files with 1 additions and 1 deletions
|
|
@ -362,7 +362,7 @@ static dma_cookie_t fsl_dma_tx_submit(struct dma_async_tx_descriptor *tx)
|
|||
if (cookie < 0)
|
||||
cookie = 1;
|
||||
|
||||
desc->async_tx.cookie = cookie;
|
||||
child->async_tx.cookie = cookie;
|
||||
}
|
||||
|
||||
chan->common.cookie = cookie;
|
||||
|
|
|
|||
Loading…
Reference in a new issue