linux/sound/soc/blackfin
Mark Brown e999dc5040 ASoC: Fix Blackfin I2S _pointer() implementation return in bounds values
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.

Reported-by: Kieran O'Leary <Kieran.O'Leary@wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
2011-06-29 09:47:53 -07:00
..
bf5xx-ac97-pcm.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-ac97-pcm.h
bf5xx-ac97.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-ac97.h
bf5xx-ad193x.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-ad1836.c ASoC: Blackfin: bf5xx-ad1836: Fix codec device name 2011-06-07 09:49:28 +01:00
bf5xx-ad1980.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-ad73311.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-i2s-pcm.c ASoC: Fix Blackfin I2S _pointer() implementation return in bounds values 2011-06-29 09:47:53 -07:00
bf5xx-i2s-pcm.h
bf5xx-i2s.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-sport.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-sport.h ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-ssm2602.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-tdm-pcm.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-tdm-pcm.h
bf5xx-tdm.c ASoC: Blackfin: push down SPORT settings from global variables 2011-03-30 07:20:05 +09:00
bf5xx-tdm.h
Kconfig ASoC: Blackfin: fix DAI/SPORT config dependency issues 2011-01-18 19:01:57 +00:00
Makefile