7 Jan
2014
7 Jan
'14
12:36 p.m.
On Mon, Jan 06, 2014 at 05:19:22PM +0100, Lars-Peter Clausen wrote:
Since commit 7b11304 ("dma: mxs-dma: Report correct residue for cyclic DMA") the mxs dmaengine driver has support for residue reporting. So there is no need to specify the SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag anymore. This allows a finer grained resolution for the PCM pointer as well as avoids the race condition that can occur with the period counting that is used when the dmaengine driver does not support residue reporting.
Signed-off-by: Lars-Peter Clausen lars@metafoo.de
I don't have the hardware, so only compiled tested. But I assume that residue reporting was added to the driver for exactly this.
Tested-by: Shawn Guo shawn.guo@linaro.org