ALSA: hda - Fix secondary ADC of ALC260 basic model
authorTakashi Iwai <tiwai@suse.de>
Mon, 15 Mar 2010 08:07:52 +0000 (09:07 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Mar 2010 08:07:52 +0000 (09:07 +0100)
Fix adc_nids[] for ALC260 basic model to match with num_adc_nids.
Otherwise you get an invalid NID in the secondary "Input Source" mixer
element.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Cc: <stable@kernel.org>
sound/pci/hda/patch_realtek.c

index 3a83719..ba45868 100644 (file)
@@ -6477,7 +6477,7 @@ static struct alc_config_preset alc260_presets[] = {
                .num_dacs = ARRAY_SIZE(alc260_dac_nids),
                .dac_nids = alc260_dac_nids,
                .num_adc_nids = ARRAY_SIZE(alc260_dual_adc_nids),
-               .adc_nids = alc260_adc_nids,
+               .adc_nids = alc260_dual_adc_nids,
                .num_channel_mode = ARRAY_SIZE(alc260_modes),
                .channel_mode = alc260_modes,
                .input_mux = &alc260_capture_source,