]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
ALSA: hda - Correct initial dac_nids for some ALC272-quirks
authorTakashi Iwai <tiwai@suse.de>
Wed, 6 Apr 2011 07:42:29 +0000 (09:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Apr 2011 07:42:29 +0000 (09:42 +0200)
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 <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index a0262306508fd100143b1687bec741fccda499d1..e62fe7f2aefff0368a911b4b464e98a5542f82bb 100644 (file)
@@ -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,