From: Takashi Iwai Date: Mon, 15 Mar 2010 08:07:52 +0000 (+0100) Subject: ALSA: hda - Fix secondary ADC of ALC260 basic model X-Git-Tag: v2.6.33.2~115 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=408fdc3e050451c81719eaa949d9d2082a8f9ecd;p=karo-tx-linux.git ALSA: hda - Fix secondary ADC of ALC260 basic model commit 9c4cc0bdede1c39bde60a0d5d9251aac71fbe719 upstream. 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 04eb5c24af7c..a79f84119967 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -6384,7 +6384,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,