aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-11-10 12:28:38 +0100
committerTakashi Iwai <tiwai@suse.de>2011-11-10 12:32:08 +0100
commitaeb4b88ec0a948efce8e3a23a8f964d3560a7308 (patch)
tree5160c27e43021a9ed689c89fe533a4336c074080 /sound/pci/hda/patch_realtek.c
parent7fb4f392bd27e5b0e2444430d241370837bcc8fa (diff)
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/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions