From: "Steven J. Magnani" <steve@digidescorp.com>
To: Li Yang <leoli@freescale.com>
Cc: "Ira W. Snyder" <iws@ovro.caltech.edu>,
linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org,
Zhang Wei <zw@zh-kernel.org>,
"Steven J. Magnani" <steve@digidescorp.com>,
Dan Williams <dan.j.williams@intel.com>
Subject: [async_tx-next PATCH v2 1/2] fsldma: Fix cookie issues
Date: Thu, 25 Feb 2010 13:39:30 -0600 [thread overview]
Message-ID: <1267126770-21497-1-git-send-email-steve@digidescorp.com> (raw)
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;
reply other threads:[~2010-02-25 19:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1267126770-21497-1-git-send-email-steve@digidescorp.com \
--to=steve@digidescorp.com \
--cc=dan.j.williams@intel.com \
--cc=iws@ovro.caltech.edu \
--cc=leoli@freescale.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=zw@zh-kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox