https://github.com/torvalds/linux
Revision 4b80b8c2eee5282dab57f094fd3893c0c09f750c authored by Lars-Peter Clausen on 09 June 2011, 11:22:36 UTC, committed by Mark Brown on 09 June 2011, 14:06:54 UTC
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
1 parent 0cd114f
History
Tip revision: 4b80b8c2eee5282dab57f094fd3893c0c09f750c authored by Lars-Peter Clausen on 09 June 2011, 11:22:36 UTC
ASoC: snd_soc_new_{mixer,mux,pga} make sure to use right DAPM context
Tip revision: 4b80b8c
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 966 bytes
.mailmap -rw-r--r-- 4.2 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.9 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 189.8 KB
Makefile -rw-r--r-- 52.6 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top