fsldma: Fix cookie issues
Subsystems (2)
PATCH v2 1/2 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]>
---
drivers/dma/fsldma.c +1 -1
@@ -362,7 +362,7 @@ static dma_cookie_t fsl_dma_tx_submit(stif (cookie <0 ) cookie =1 ; - desc->async_tx.cookie = cookie; + child->async_tx.cookie = cookie; } chan->common.cookie = cookie;