linux-kernel-test/sound/pci/hda
Takashi Iwai 5311114d48 ALSA: hda - Fix input source elements of secondary ADCs on Realtek
Since alc_auto_create_input_ctls() doesn't set the elements for the
secondary ADCs, "Input Source" elemtns for these also get empty, resulting
in buggy outputs of alsactl like:
	control.14 {
		comment.access 'read write'
		comment.type ENUMERATED
		comment.count 1
		iface MIXER
		name 'Input Source'
		index 1
		value 0
	}

This patch fixes alc_mux_enum_*() (and others) to fall back to the
first entry if the secondary input mux is empty.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: <stable@kernel.org>
2010-03-08 12:17:49 +01:00
..
hda_beep.c ALSA: hda - Fix Oops at reloading beep devices 2009-12-27 13:34:01 +01:00
hda_beep.h ALSA: hda - Fix beep_mode option value 2009-11-16 15:33:49 +01:00
hda_codec.c ALSA: sound/pci/hda/hda_codec.c: various coding style fixes 2010-03-02 11:21:18 +01:00
hda_codec.h ALSA: hda - Define max number of PCM devices in hda_codec.h 2010-01-28 17:08:53 +01:00
hda_eld.c ALSA: hda - Build hda_eld into snd-hda-codec module 2010-03-04 16:05:24 +01:00
hda_generic.c ALSA: hda - add more NID->Control mapping 2009-12-15 09:33:04 +01:00
hda_hwdep.c ALSA: hda - Allow override more fields via patch loader 2010-01-28 00:04:21 +01:00
hda_intel.c ALSA: hda - Add ASRock mobo to MSI blacklist 2010-03-07 09:29:39 +01:00
hda_local.h ALSA: hda - Fix NID association for capture mixers 2009-12-23 08:38:28 +01:00
hda_proc.c ALSA: hda - introduce HDA_SUBDEV_AMP_FLAG (ControlAmp in proc) 2009-12-15 09:33:17 +01:00
Kconfig ALSA: hda - Support NVIDIA MCP89 and GT21x hdmi audio 2010-03-04 15:54:12 +01:00
Makefile ALSA: hda - Build hda_eld into snd-hda-codec module 2010-03-04 16:05:24 +01:00
patch_analog.c ALSA: hda: Use 3stack quirk for Toshiba Satellite L40-10Q 2010-02-22 08:15:21 +01:00
patch_atihdmi.c ALSA: hda: move open coded tricks into get_wcaps_channels() 2009-08-24 09:42:48 +02:00
patch_ca0110.c ALSA: hda - proc - introduce Control: lines to show mixer<->NID assignment 2009-11-16 11:35:14 +01:00
patch_cirrus.c ALSA: hda - Fix NID association for capture mixers 2009-12-23 08:38:28 +01:00
patch_cmedia.c ALSA: hda - Fix NID association for capture mixers 2009-12-23 08:38:28 +01:00
patch_conexant.c ALSA: hda - Add support for Lenovo IdeaPad U150 2010-02-13 10:16:05 +01:00
patch_hdmi.c ALSA: hdmi - show debug message on changing audio infoframe 2010-03-08 08:21:25 +01:00
patch_intelhdmi.c ALSA: hdmi - merge common code for intelhdmi and nvhdmi 2010-03-08 08:21:08 +01:00
patch_nvhdmi.c ALSA: hdmi - merge common code for intelhdmi and nvhdmi 2010-03-08 08:21:08 +01:00
patch_realtek.c ALSA: hda - Fix input source elements of secondary ADCs on Realtek 2010-03-08 12:17:49 +01:00
patch_si3054.c ALSA: hda - add more NID->Control mapping 2009-12-15 09:33:04 +01:00
patch_sigmatel.c ALSA: hda - Fix default polarity of mute-LED GPIO on 92HD83x/88x codecs 2010-02-09 09:25:26 +01:00
patch_via.c ALSA: hda - Fix NID association for capture mixers 2009-12-23 08:38:28 +01:00