Skip to content
Commit fd23b7de authored by Daniel Mack's avatar Daniel Mack Committed by Mark Brown
Browse files

ASoC: move dma_data from snd_soc_dai to snd_soc_pcm_stream



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.

Reported-by: default avatarSven Neumann <s.neumann@raumfeld.com>
Reported-by: default avatarMichael Hirsch <m.hirsch@raumfeld.com>
Signed-off-by: default avatarDaniel Mack <daniel@caiaq.de>
Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@nokia.com>
Acked-by: default avatarJarkko Nikula <jhnikula@gmail.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 093208f5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment