[alsa-devel] [PATCH] ALSA: ASoC: move dma_data from snd_soc_dai to snd_soc_pcm_stream

Liam Girdwood lrg at slimlogic.co.uk
Fri Mar 19 09:50:23 CET 2010


On Thu, 2010-03-18 at 20:23 +0100, Daniel Mack wrote:
> This fixes a memory corruption when ASoC devices are used in
> full-duplex mode. Specifically for pxa-ssp code, where this pointer
> is dynamically allocated for each direction and destroyed upon each
> stream start.
> 
> All other platforms are fixed blindly, I couldn't even compile-test
> them. Sorry for any breakage I may have caused.
> 
> Signed-off-by: Daniel Mack <daniel at caiaq.de>
> Cc: Liam Girdwood <lrg at slimlogic.co.uk>
> Cc: Mark Brown <broonie at opensource.wolfsonmicro.com>
> Cc: Sven Neumann <s.neumann at raumfeld.com>
> Cc: Michael Hirsch <m.hirsch at raumfeld.com>
> Reported-by: Sven Neumann <s.neumann at raumfeld.com>
> Reported-by: Michael Hirsch <m.hirsch at raumfeld.com>
> ---
> 
> I indeed missed quite a few platforms, you were right.
> Hope I got them all now. Better check again - thanks!
> 

All the platforms here look fine. 

Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>

-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list