ALSA: hda/realtek - Fix COEF widget NID for ALC260 replacer fixup
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Jun 2014 13:16:07 +0000 (15:16 +0200)
committerJiri Slaby <jslaby@suse.cz>
Fri, 20 Jun 2014 15:34:07 +0000 (17:34 +0200)
commit 192a98e280e560510a62aca8cfa83b4ae7c095bb upstream.

The conversion to a fixup table for Replacer model with ALC260 in
commit 20f7d928 took the wrong widget NID for COEF setups.  Namely,
NID 0x1a should have been used instead of NID 0x20, which is the
common node for all Realtek codecs but ALC260.

Fixes: 20f7d928fa6e ('ALSA: hda/realtek - Replace ALC260 model=replacer with the auto-parser')
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
sound/pci/hda/patch_realtek.c

index 4f9a3f438580909f4c1483c2b64f9685f5ad7154..23971aa25fef959bdc78903729e001c36ce5921d 100644 (file)
@@ -1615,8 +1615,8 @@ static const struct hda_fixup alc260_fixups[] = {
        [ALC260_FIXUP_REPLACER] = {
                .type = HDA_FIXUP_VERBS,
                .v.verbs = (const struct hda_verb[]) {
-                       { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
-                       { 0x20, AC_VERB_SET_PROC_COEF,  0x3050 },
+                       { 0x1a, AC_VERB_SET_COEF_INDEX, 0x07 },
+                       { 0x1a, AC_VERB_SET_PROC_COEF,  0x3050 },
                        { }
                },
                .chained = true,