[ALSA] hda-codec - Fix ALC882 capture source selection
authorTakashi Iwai <tiwai@suse.de>
Fri, 22 Feb 2008 17:45:30 +0000 (18:45 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 22 Feb 2008 22:20:09 +0000 (14:20 -0800)
commitcced83b62c61fb39b79e796981065dff474b62aa
tree710e3890f45a3edb4abfc28ee91118be0955eea2
parent614ca92b51b81eb42d6a3dcf125451632ddca0f5
[ALSA] hda-codec - Fix ALC882 capture source selection

The capture source selection for ADC list with two elements is buggy
becaues of a wrong capture mux list.  This patch fixes the starting
index based on spec->num_adc_nids.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
sound/pci/hda/patch_realtek.c