From: Takashi Iwai Date: Wed, 6 Apr 2011 07:42:29 +0000 (+0200) Subject: ALSA: hda - Correct initial dac_nids for some ALC272-quirks X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1bc7cf99a90b4cfbeed362f3f238bcc9fc2f2c28;p=linux-beck.git ALSA: hda - Correct initial dac_nids for some ALC272-quirks Some ALC272-quirks use alc662_dac_nids instead of alc272_dac_nids. This patch fixes these entries. No functional change since the first two elements are identical in both arrays. Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index a0262306508f..e62fe7f2aeff 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -19059,7 +19059,7 @@ static struct alc_config_preset alc662_presets[] = { .cap_mixer = alc272_auto_capture_mixer, .init_verbs = { alc662_init_verbs, alc272_dell_init_verbs }, .num_dacs = ARRAY_SIZE(alc272_dac_nids), - .dac_nids = alc662_dac_nids, + .dac_nids = alc272_dac_nids, .num_channel_mode = ARRAY_SIZE(alc662_3ST_2ch_modes), .adc_nids = alc272_adc_nids, .num_adc_nids = ARRAY_SIZE(alc272_adc_nids), @@ -19074,7 +19074,7 @@ static struct alc_config_preset alc662_presets[] = { .cap_mixer = alc662_auto_capture_mixer, .init_verbs = { alc662_init_verbs, alc272_dell_zm1_init_verbs }, .num_dacs = ARRAY_SIZE(alc272_dac_nids), - .dac_nids = alc662_dac_nids, + .dac_nids = alc272_dac_nids, .num_channel_mode = ARRAY_SIZE(alc662_3ST_2ch_modes), .adc_nids = alc662_adc_nids, .num_adc_nids = 1,