OpenCloudOS-Kernel/sound/pci/hda
Takashi Iwai aeb4b88ec0 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>
2011-11-10 12:32:08 +01:00
..
Kconfig ALSA: hda - Make CONFIG_SND_HDA_POWER_SAVE depending on CONFIG_PM 2011-07-26 17:21:18 +02:00
Makefile ALSA: hda - Add basic tracepoints 2011-08-04 17:02:37 +02:00
alc260_quirks.c ALSA: hda - Remove ALC260 HP model quirks 2011-08-15 13:10:18 +02:00
alc262_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
alc880_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
alc882_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
alc_quirks.c ALSA: HDA: Refactor Realtek's automute 2011-09-20 18:22:33 +02:00
hda_beep.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_beep.h ALSA: hda - Fix missing static inline to beep dummy function 2011-06-14 08:14:32 +02:00
hda_codec.c ALSA: hda - Don't add elements of other codecs to vmaster slave 2011-11-10 12:32:08 +01:00
hda_codec.h ALSA: hda - Allow codec-specific set_power_state ops 2011-07-26 17:21:24 +02:00
hda_eld.c ALSA: hda - Moved snd_print_pcm_rates() back into hda_proc.c 2011-10-06 08:21:15 +02:00
hda_generic.c sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed 2011-10-31 19:31:22 -04:00
hda_hwdep.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
hda_intel.c ALSA: hda - Fix a regression for DMA-position check with CA0110 2011-11-06 13:49:13 +01:00
hda_local.h ALSA: hda - Revert the check of NO_PRESENCE pincfg default bit 2011-11-06 14:07:37 +01:00
hda_proc.c ALSA: hda - Moved snd_print_pcm_rates() back into hda_proc.c 2011-10-06 08:21:15 +02:00
hda_trace.h ALSA: hda - Add tracepoint for unsolicited events 2011-08-09 14:24:17 +02:00
patch_analog.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_ca0110.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_ca0132.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_cirrus.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_cmedia.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_conexant.c ALSA: HDA: Remove quirk for Toshiba T110 2011-11-09 08:51:28 +01:00
patch_hdmi.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
patch_realtek.c ALSA: hda - Mute unused capture sources for Realtek codecs 2011-11-08 07:52:19 +01:00
patch_si3054.c sound: Add module.h to the previously silent sound users 2011-10-31 19:31:21 -04:00
patch_sigmatel.c ALSA: hda - fix internal mic on Dell Vostro 3500 laptop 2011-11-09 11:03:29 +01:00
patch_via.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00