summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_intel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-03-08 12:13:07 +0100
committerTakashi Iwai <tiwai@suse.de>2010-03-08 12:17:49 +0100
commit5311114d4867113c00f78829d4ce14be458ec925 (patch)
treed8d75d6e5202190e2cb5c47404a826b6c7051e0c /sound/pci/hda/hda_intel.c
parent50ae0aa8f55813b2cc5e5b7f589f328b8fcd45ec (diff)
downloadop-kernel-dev-5311114d4867113c00f78829d4ce14be458ec925.zip
op-kernel-dev-5311114d4867113c00f78829d4ce14be458ec925.tar.gz
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>
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud