diff options
| author | 2011-06-09 13:22:36 +0200 | |
|---|---|---|
| committer | 2011-06-09 15:06:54 +0100 | |
| commit | 4b80b8c2eee5282dab57f094fd3893c0c09f750c (patch) | |
| tree | 233898690a53e59335f2ebd3fda38845cabb911d /scripts/basic | |
| parent | ASoC: fsl: fix initialization of DMA buffers (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 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
