summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-06-09 15:22:36 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-06-09 18:06:54 +0400
commit4b80b8c2eee5282dab57f094fd3893c0c09f750c (patch)
tree233898690a53e59335f2ebd3fda38845cabb911d /samples
parent0cd114fff9ace7014c0d3ef8ab385fc5d3cf2d2f (diff)
downloadlinux-4b80b8c2eee5282dab57f094fd3893c0c09f750c.tar.xz
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 <lars@metafoo.de> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@kernel.org
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions