aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-12-17 09:00:26 -0500
committerTakashi Iwai <tiwai@suse.de>2009-12-17 09:00:26 -0500
commit035eb0cff0671ada49ba9f3e5c9e7b0cb950efea (patch)
treefb18a94eb74537fe9c6a57cb8f592703c45661e7 /sound
parentc0f8faf0c7cd497ec7c1d61e1e9424f4384c1f68 (diff)
ALSA: hda - Fix missing capsrc_nids for ALC88x
Some model quirks missed the corresponding capsrc_nids. This resulted in non-working capture source selection. Signed-off-by: Takashi Iwai <tiwai@suse.de> Cc: <stable@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 287bb6019df9..d9a9f0c7cf5b 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9238,6 +9238,8 @@ static struct alc_config_preset alc882_presets[] = {
9238 .dac_nids = alc883_dac_nids, 9238 .dac_nids = alc883_dac_nids,
9239 .num_adc_nids = ARRAY_SIZE(alc889_adc_nids), 9239 .num_adc_nids = ARRAY_SIZE(alc889_adc_nids),
9240 .adc_nids = alc889_adc_nids, 9240 .adc_nids = alc889_adc_nids,
9241 .capsrc_nids = alc889_capsrc_nids,
9242 .capsrc_nids = alc889_capsrc_nids,
9241 .dig_out_nid = ALC883_DIGOUT_NID, 9243 .dig_out_nid = ALC883_DIGOUT_NID,
9242 .dig_in_nid = ALC883_DIGIN_NID, 9244 .dig_in_nid = ALC883_DIGIN_NID,
9243 .slave_dig_outs = alc883_slave_dig_outs, 9245 .slave_dig_outs = alc883_slave_dig_outs,
@@ -9284,6 +9286,7 @@ static struct alc_config_preset alc882_presets[] = {
9284 .dac_nids = alc883_dac_nids, 9286 .dac_nids = alc883_dac_nids,
9285 .adc_nids = alc883_adc_nids_alt, 9287 .adc_nids = alc883_adc_nids_alt,
9286 .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt), 9288 .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt),
9289 .capsrc_nids = alc883_capsrc_nids,
9287 .dig_out_nid = ALC883_DIGOUT_NID, 9290 .dig_out_nid = ALC883_DIGOUT_NID,
9288 .num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes), 9291 .num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes),
9289 .channel_mode = alc883_3ST_2ch_modes, 9292 .channel_mode = alc883_3ST_2ch_modes,
@@ -9430,6 +9433,7 @@ static struct alc_config_preset alc882_presets[] = {
9430 .dac_nids = alc883_dac_nids, 9433 .dac_nids = alc883_dac_nids,
9431 .adc_nids = alc883_adc_nids_alt, 9434 .adc_nids = alc883_adc_nids_alt,
9432 .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt), 9435 .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt),
9436 .capsrc_nids = alc883_capsrc_nids,
9433 .num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes), 9437 .num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes),
9434 .channel_mode = alc883_sixstack_modes, 9438 .channel_mode = alc883_sixstack_modes,
9435 .input_mux = &alc883_capture_source, 9439 .input_mux = &alc883_capture_source,
@@ -9491,6 +9495,7 @@ static struct alc_config_preset alc882_presets[] = {
9491 .dac_nids = alc883_dac_nids, 9495 .dac_nids = alc883_dac_nids,
9492 .adc_nids = alc883_adc_nids_alt, 9496 .adc_nids = alc883_adc_nids_alt,
9493 .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt), 9497 .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt),
9498 .capsrc_nids = alc883_capsrc_nids,
9494 .num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes), 9499 .num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes),
9495 .channel_mode = alc883_3ST_2ch_modes, 9500 .channel_mode = alc883_3ST_2ch_modes,
9496 .input_mux = &alc883_lenovo_101e_capture_source, 9501 .input_mux = &alc883_lenovo_101e_capture_source,
@@ -9670,6 +9675,7 @@ static struct alc_config_preset alc882_presets[] = {
9670 alc880_gpio1_init_verbs }, 9675 alc880_gpio1_init_verbs },
9671 .adc_nids = alc883_adc_nids, 9676 .adc_nids = alc883_adc_nids,
9672 .num_adc_nids = ARRAY_SIZE(alc883_adc_nids), 9677 .num_adc_nids = ARRAY_SIZE(alc883_adc_nids),
9678 .capsrc_nids = alc883_capsrc_nids,
9673 .dac_nids = alc883_dac_nids, 9679 .dac_nids = alc883_dac_nids,
9674 .num_dacs = ARRAY_SIZE(alc883_dac_nids), 9680 .num_dacs = ARRAY_SIZE(alc883_dac_nids),
9675 .channel_mode = alc889A_mb31_6ch_modes, 9681 .channel_mode = alc889A_mb31_6ch_modes,