Commit 6ca3a7a96e91b1aa8c704153c992b191d35b5747

Authored by Steven J. Magnani
Committed by Dan Williams
1 parent 9ad7bd2944

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 <steve@digidescorp.com>
Acked-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/dma/fsldma.c
... ... @@ -362,7 +362,7 @@
362 362 if (cookie < 0)
363 363 cookie = 1;
364 364  
365   - desc->async_tx.cookie = cookie;
  365 + child->async_tx.cookie = cookie;
366 366 }
367 367  
368 368 chan->common.cookie = cookie;