* [async_tx-next PATCH v2 1/2] fsldma: Fix cookie issues
@ 2010-02-25 19:39 Steven J. Magnani
0 siblings, 0 replies; only message in thread
From: Steven J. Magnani @ 2010-02-25 19:39 UTC (permalink / raw)
To: Li Yang
Cc: Ira W. Snyder, linux-kernel, linuxppc-dev, Zhang Wei,
Steven J. Magnani, Dan Williams
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>
---
diff -uprN a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c
--- a/drivers/dma/fsldma.c 2010-02-22 11:16:36.000000000 -0600
+++ b/drivers/dma/fsldma.c 2010-02-22 11:24:01.000000000 -0600
@@ -362,7 +362,7 @@ static dma_cookie_t fsl_dma_tx_submit(st
if (cookie < 0)
cookie = 1;
- desc->async_tx.cookie = cookie;
+ child->async_tx.cookie = cookie;
}
chan->common.cookie = cookie;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-02-25 19:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-25 19:39 [async_tx-next PATCH v2 1/2] fsldma: Fix cookie issues Steven J. Magnani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox