diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-10 12:28:38 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-10 12:32:08 +0100 |
commit | aeb4b88ec0a948efce8e3a23a8f964d3560a7308 (patch) | |
tree | 5160c27e43021a9ed689c89fe533a4336c074080 /sound/core | |
parent | 7fb4f392bd27e5b0e2444430d241370837bcc8fa (diff) | |
download | linux-aeb4b88ec0a948efce8e3a23a8f964d3560a7308.tar.bz2 |
ALSA: hda - Don't add elements of other codecs to vmaster slave
When a virtual mater control is created, the driver looks for slave
elements from the assigned card instance. But this may include the
elements of other codecs when multiple codecs are on the same HD-audio
bus. This works at the first time, but it'll give Oops when it's once
freed and re-created via reconfig sysfs.
This patch changes the element-look-up strategy to limit only to the
mixer elements of the same codec.
Reported-by: David Henningsson <david.henningsson@canonical.com>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions