Skip to content

Commit

Permalink
fsldma: Fix cookie issues
Browse files Browse the repository at this point in the history
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 <steve@digidescorp.com>
Acked-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
  • Loading branch information
Steven J. Magnani authored and Dan Williams committed Mar 1, 2010
1 parent 9ad7bd2 commit 6ca3a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dma/fsldma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6ca3a7a

Please sign in to comment.