diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2011-06-09 13:22:36 +0200 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-06-09 15:06:54 +0100 |
commit | 4b80b8c2eee5282dab57f094fd3893c0c09f750c (patch) | |
tree | 233898690a53e59335f2ebd3fda38845cabb911d /drivers/sn | |
parent | 0cd114fff9ace7014c0d3ef8ab385fc5d3cf2d2f (diff) |
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 'drivers/sn')
0 files changed, 0 insertions, 0 deletions