mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-16 01:24:08 +08:00
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>
This commit is contained in:
parent
28d1a85e13
commit
9c4cc0bded
@ -6477,7 +6477,7 @@ static struct alc_config_preset alc260_presets[] = {
|
|||||||
.num_dacs = ARRAY_SIZE(alc260_dac_nids),
|
.num_dacs = ARRAY_SIZE(alc260_dac_nids),
|
||||||
.dac_nids = alc260_dac_nids,
|
.dac_nids = alc260_dac_nids,
|
||||||
.num_adc_nids = ARRAY_SIZE(alc260_dual_adc_nids),
|
.num_adc_nids = ARRAY_SIZE(alc260_dual_adc_nids),
|
||||||
.adc_nids = alc260_adc_nids,
|
.adc_nids = alc260_dual_adc_nids,
|
||||||
.num_channel_mode = ARRAY_SIZE(alc260_modes),
|
.num_channel_mode = ARRAY_SIZE(alc260_modes),
|
||||||
.channel_mode = alc260_modes,
|
.channel_mode = alc260_modes,
|
||||||
.input_mux = &alc260_capture_source,
|
.input_mux = &alc260_capture_source,
|
||||||
|
Loading…
Reference in New Issue
Block a user