From: Nandor Han <nandor.han@ge.com>
To: Vinod Koul <vinod.koul@intel.com>,
Dan Williams <dan.j.williams@intel.com>
Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org,
Peter Senna Tschudin <peter.senna@collabora.com>,
Marek Vasut <marex@denx.de>, Nandor Han <nandor.han@ge.com>
Subject: [PATCH 0/1] dmaengine: imx-sdma - fix the dma residue calculation
Date: Tue, 11 Oct 2016 14:13:40 +0300 [thread overview]
Message-ID: <cover.1476172445.git.nandor.han@ge.com> (raw)
The patch will correct the calculation of the dma residue taking in consideration
that some subsystem can check the dma status without waiting the dma complete event.
Affected devices: imx based device using sdma module with cyclic channels.
Tested on imx6 and imx53 by playing wav files using `speaker-test`application, part
of alsa-utils package, and verify that the sound plays smoothly without interruptions.
Verified also the serial communication by transferring data over the serial line using
various packet sizes and checked the logs and the serial port status
(`cat /proc/tty/driver/IMX-uart`) that no data is lost.
Nandor Han (1):
dmaengine: imx-sdma - correct the dma transfer residue calculation
drivers/dma/imx-sdma.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
--
2.7.1
next reply other threads:[~2016-10-11 12:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-11 11:13 Nandor Han [this message]
2016-10-11 11:13 ` [PATCH 1/1] dmaengine: imx-sdma - correct the dma transfer residue calculation Nandor Han
2016-10-11 11:35 ` Peter Senna Tschudin
2016-10-16 16:59 ` Marek Vasut
2016-11-25 5:36 ` Vinod Koul
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=cover.1476172445.git.nandor.han@ge.com \
--to=nandor.han@ge.com \
--cc=dan.j.williams@intel.com \
--cc=dmaengine@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marex@denx.de \
--cc=peter.senna@collabora.com \
--cc=vinod.koul@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).