mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
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>
This commit is contained in:
parent
c0f8faf0c7
commit
035eb0cff0
1 changed files with 6 additions and 0 deletions
|
@ -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[] = {
|
||||||
.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[] = {
|
||||||
.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[] = {
|
||||||
.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[] = {
|
||||||
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,
|
||||||
|
|
Loading…
Reference in a new issue