Commit 035eb0cf authored by Takashi Iwai's avatar Takashi Iwai

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: default avatarTakashi Iwai <tiwai@suse.de>
Cc: <stable@kernel.org>
parent c0f8faf0
...@@ -9238,6 +9238,8 @@ static struct alc_config_preset alc882_presets[] = { ...@@ -9238,6 +9238,8 @@ static struct alc_config_preset alc882_presets[] = {
.dac_nids = alc883_dac_nids, .dac_nids = alc883_dac_nids,
.num_adc_nids = ARRAY_SIZE(alc889_adc_nids), .num_adc_nids = ARRAY_SIZE(alc889_adc_nids),
.adc_nids = alc889_adc_nids, .adc_nids = alc889_adc_nids,
.capsrc_nids = alc889_capsrc_nids,
.capsrc_nids = alc889_capsrc_nids,
.dig_out_nid = ALC883_DIGOUT_NID, .dig_out_nid = ALC883_DIGOUT_NID,
.dig_in_nid = ALC883_DIGIN_NID, .dig_in_nid = ALC883_DIGIN_NID,
.slave_dig_outs = alc883_slave_dig_outs, .slave_dig_outs = alc883_slave_dig_outs,
...@@ -9284,6 +9286,7 @@ static struct alc_config_preset alc882_presets[] = { ...@@ -9284,6 +9286,7 @@ static struct alc_config_preset alc882_presets[] = {
.dac_nids = alc883_dac_nids, .dac_nids = alc883_dac_nids,
.adc_nids = alc883_adc_nids_alt, .adc_nids = alc883_adc_nids_alt,
.num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt), .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt),
.capsrc_nids = alc883_capsrc_nids,
.dig_out_nid = ALC883_DIGOUT_NID, .dig_out_nid = ALC883_DIGOUT_NID,
.num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes), .num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes),
.channel_mode = alc883_3ST_2ch_modes, .channel_mode = alc883_3ST_2ch_modes,
...@@ -9430,6 +9433,7 @@ static struct alc_config_preset alc882_presets[] = { ...@@ -9430,6 +9433,7 @@ static struct alc_config_preset alc882_presets[] = {
.dac_nids = alc883_dac_nids, .dac_nids = alc883_dac_nids,
.adc_nids = alc883_adc_nids_alt, .adc_nids = alc883_adc_nids_alt,
.num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt), .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt),
.capsrc_nids = alc883_capsrc_nids,
.num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes), .num_channel_mode = ARRAY_SIZE(alc883_sixstack_modes),
.channel_mode = alc883_sixstack_modes, .channel_mode = alc883_sixstack_modes,
.input_mux = &alc883_capture_source, .input_mux = &alc883_capture_source,
...@@ -9491,6 +9495,7 @@ static struct alc_config_preset alc882_presets[] = { ...@@ -9491,6 +9495,7 @@ static struct alc_config_preset alc882_presets[] = {
.dac_nids = alc883_dac_nids, .dac_nids = alc883_dac_nids,
.adc_nids = alc883_adc_nids_alt, .adc_nids = alc883_adc_nids_alt,
.num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt), .num_adc_nids = ARRAY_SIZE(alc883_adc_nids_alt),
.capsrc_nids = alc883_capsrc_nids,
.num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes), .num_channel_mode = ARRAY_SIZE(alc883_3ST_2ch_modes),
.channel_mode = alc883_3ST_2ch_modes, .channel_mode = alc883_3ST_2ch_modes,
.input_mux = &alc883_lenovo_101e_capture_source, .input_mux = &alc883_lenovo_101e_capture_source,
...@@ -9670,6 +9675,7 @@ static struct alc_config_preset alc882_presets[] = { ...@@ -9670,6 +9675,7 @@ static struct alc_config_preset alc882_presets[] = {
alc880_gpio1_init_verbs }, alc880_gpio1_init_verbs },
.adc_nids = alc883_adc_nids, .adc_nids = alc883_adc_nids,
.num_adc_nids = ARRAY_SIZE(alc883_adc_nids), .num_adc_nids = ARRAY_SIZE(alc883_adc_nids),
.capsrc_nids = alc883_capsrc_nids,
.dac_nids = alc883_dac_nids, .dac_nids = alc883_dac_nids,
.num_dacs = ARRAY_SIZE(alc883_dac_nids), .num_dacs = ARRAY_SIZE(alc883_dac_nids),
.channel_mode = alc889A_mb31_6ch_modes, .channel_mode = alc889A_mb31_6ch_modes,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment