aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-03-15 04:07:52 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-01 19:01:24 -0400
commit408fdc3e050451c81719eaa949d9d2082a8f9ecd (patch)
tree13105ecc75ea56a33f26afb2d7c95dfdb7fa4942 /sound/pci/hda
parent6ca05d7182452b47a2e25a218254f3eebb0314fa (diff)
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 <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r--sound/pci/hda/patch_realtek.c2
1 files changed, 1 insertions, 1 deletions
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[] = {
6384 .num_dacs = ARRAY_SIZE(alc260_dac_nids), 6384 .num_dacs = ARRAY_SIZE(alc260_dac_nids),
6385 .dac_nids = alc260_dac_nids, 6385 .dac_nids = alc260_dac_nids,
6386 .num_adc_nids = ARRAY_SIZE(alc260_dual_adc_nids), 6386 .num_adc_nids = ARRAY_SIZE(alc260_dual_adc_nids),
6387 .adc_nids = alc260_adc_nids, 6387 .adc_nids = alc260_dual_adc_nids,
6388 .num_channel_mode = ARRAY_SIZE(alc260_modes), 6388 .num_channel_mode = ARRAY_SIZE(alc260_modes),
6389 .channel_mode = alc260_modes, 6389 .channel_mode = alc260_modes,
6390 .input_mux = &alc260_capture_source, 6390 .input_mux = &alc260_capture_source,