From: Lars-Peter Clausen Date: Thu, 9 Jun 2011 11:22:36 +0000 (+0200) Subject: ASoC: snd_soc_new_{mixer,mux,pga} make sure to use right DAPM context X-Git-Tag: v3.0-rc3~10^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b80b8c2eee5282dab57f094fd3893c0c09f750c;p=pandora-kernel.git ASoC: snd_soc_new_{mixer,mux,pga} make sure to use right DAPM context Currently it is possible that snd_soc_new_{mixer,mux,pga} is called with a DAPM context not matching the widgets context. This can lead to a wrong prefix_len calculation, which will result in undefined behaviour. To avoid this always use the DAPM context from the widget itself. Signed-off-by: Lars-Peter Clausen Acked-by: Liam Girdwood Signed-off-by: Mark Brown Cc: stable@kernel.org --- Reading git-diff-tree failed