diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-03-15 04:07:52 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-03-15 04:07:52 -0400 |
commit | 9c4cc0bdede1c39bde60a0d5d9251aac71fbe719 (patch) | |
tree | bd5a42e9ae9a7d1273ddf7f89c0326197cc3df6c /sound/pci | |
parent | 28d1a85e136985982448b2f9b1342bae85ad1c98 (diff) |
ALSA: hda - Fix secondary ADC of ALC260 basic model
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>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 3a8371990d75..ba45868d5242 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -6477,7 +6477,7 @@ static struct alc_config_preset alc260_presets[] = { | |||
6477 | .num_dacs = ARRAY_SIZE(alc260_dac_nids), | 6477 | .num_dacs = ARRAY_SIZE(alc260_dac_nids), |
6478 | .dac_nids = alc260_dac_nids, | 6478 | .dac_nids = alc260_dac_nids, |
6479 | .num_adc_nids = ARRAY_SIZE(alc260_dual_adc_nids), | 6479 | .num_adc_nids = ARRAY_SIZE(alc260_dual_adc_nids), |
6480 | .adc_nids = alc260_adc_nids, | 6480 | .adc_nids = alc260_dual_adc_nids, |
6481 | .num_channel_mode = ARRAY_SIZE(alc260_modes), | 6481 | .num_channel_mode = ARRAY_SIZE(alc260_modes), |
6482 | .channel_mode = alc260_modes, | 6482 | .channel_mode = alc260_modes, |
6483 | .input_mux = &alc260_capture_source, | 6483 | .input_mux = &alc260_capture_source, |