linux-hardened/sound/pci/hda
Takashi Iwai f46c329644 ALSA: hda - Fix index number conflicts of phantom jacks
Since some jack controls may be renamed as phantom jacks, the existing
check for index conflicts doesn't work because it simply compares the
name with the last used name, assuming that the controls with the same
name continue.  Thus, it would result in the duplicated controls when
two or more phantom jacks with the very same type exist, and the
driver gives up with an error.

This patch fixes the problem by checking the index number conflicts
more intensively (but dumbly).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-07-17 16:55:56 +02:00
..
hda_auto_parser.c ALSA: hda - Fix memory leaks in Realtek & Conexant codec parsers 2012-06-26 14:56:20 +02:00
hda_auto_parser.h ALSA: hda - Fix memory leaks in Realtek & Conexant codec parsers 2012-06-26 14:56:20 +02:00
hda_beep.c ALSA: hda - Avoid possible race of beep on/off 2012-07-03 18:31:37 +02:00
hda_beep.h ALSA: hda - Get rid of superfluous beep->mode field 2012-07-03 18:31:36 +02:00
hda_codec.c Merge branch 'topic/hda-beep' into topic/hda 2012-07-04 09:12:50 +02:00
hda_codec.h Merge branch 'fix/hda' into topic/hda 2012-06-20 14:43:20 +02:00
hda_eld.c ALSA: hda - hide HDMI/ELD printks unless snd.debug=2 2012-04-10 14:53:55 +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 driver type of Haswell controller to AZX_DRIVER_SCH 2012-07-16 16:17:10 +02:00
hda_jack.c ALSA: hda - Fix index number conflicts of phantom jacks 2012-07-17 16:55:56 +02:00
hda_jack.h ALSA: HDA: Create phantom jacks for fixed inputs and outputs 2012-06-14 12:59:35 +02:00
hda_local.h ALSA: hda - Move beep helper functions to hda_beep.c 2012-07-03 18:31:36 +02:00
hda_proc.c ALSA: hda - check proper return value 2012-06-07 11:40:58 +02:00
hda_trace.h ALSA: hda - Add tracepoint for unsolicited events 2011-08-09 14:24:17 +02:00
Kconfig ALSA: hda - Remove beep_mode=2 2012-07-03 18:31:20 +02:00
Makefile ALSA: hda - Move up the fixup helper functions to the library module 2012-05-08 18:01:33 +02:00
patch_analog.c ALSA: hda - Move BIOS pin-parser code to hda_auto_parser.c 2012-05-08 18:01:33 +02:00
patch_ca0110.c ALSA: hda - Move BIOS pin-parser code to hda_auto_parser.c 2012-05-08 18:01:33 +02:00
patch_ca0132.c ALSA: hda - Move BIOS pin-parser code to hda_auto_parser.c 2012-05-08 18:01:33 +02:00
patch_cirrus.c ALSA: hda - Move BIOS pin-parser code to hda_auto_parser.c 2012-05-08 18:01:33 +02:00
patch_cmedia.c ALSA: hda - Move BIOS pin-parser code to hda_auto_parser.c 2012-05-08 18:01:33 +02:00
patch_conexant.c ALSA: hda - Fix memory leaks in Realtek & Conexant codec parsers 2012-06-26 14:56:20 +02:00
patch_hdmi.c ALSA: hda - Add new GPU codec ID to snd-hda 2012-07-17 07:30:44 +02:00
patch_realtek.c ALSA: hda - Always call standard unsolicited event for Realtek codecs 2012-07-05 12:22:47 +02: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 power-map regression for HP dv6 & co 2012-06-26 17:43:06 +02:00
patch_via.c ALSA: hda - Fix possible races of accesses to connection list array 2012-05-19 17:25:23 +02:00