[alsa-devel] [PATCH] ASoC: Fix Blackfin I2S _pointer() implementation return in bounds values

Liam Girdwood lrg at ti.com
Wed Jun 29 17:36:13 CEST 2011

On 23/06/11 20:02, Mark Brown wrote:
> The Blackfin DMA controller can report one frame beyond the end of the
> buffer in the wraparound case but ALSA requires that the pointer always
> be in the buffer. Do the wraparound to handle this. A similar bug is
> likely to apply to the other Blackfin PCM drivers but the code is less
> obvious to inspection and I don't have a user to test.
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---

Acked-by: Liam Girdwood <lrg at ti.com>

More information about the Alsa-devel mailing list