From: Daniel Mack Date: Fri, 19 Mar 2010 14:52:55 +0000 (+0000) Subject: ASoC: move dma_data from snd_soc_dai to snd_soc_pcm_stream X-Git-Tag: v2.6.35-rc1~478^2^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd23b7dee5e4d369f620979cb120f53629389355;p=pandora-kernel.git 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: Sven Neumann Reported-by: Michael Hirsch Signed-off-by: Daniel Mack Acked-by: Peter Ujfalusi Acked-by: Jarkko Nikula Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed