[alsa-devel] [PATCH] ASoC: mxs: Remove SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag

Shawn Guo shawn.guo at linaro.org
Tue Jan 7 12:36:18 CET 2014

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 at 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 at linaro.org>

More information about the Alsa-devel mailing list