ALSA: hda - Fix speaker pin of FSC Lifebook S7110 laptop
authorTakashi Iwai <tiwai@suse.de>
Fri, 18 Jan 2013 14:41:34 +0000 (15:41 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Jan 2013 14:41:34 +0000 (15:41 +0100)
Some BIOS version of FSC Lifebook S7110 laptop seems to give a wrong
default pin config for NID 0x15, which confuses the parser.  Give a
fixup to correct the value.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 70b0e32..79ff34d 100644 (file)
@@ -2151,6 +2151,7 @@ static int alc262_parse_auto_config(struct hda_codec *codec)
  */
 enum {
        ALC262_FIXUP_FSC_H270,
+       ALC262_FIXUP_FSC_S7110,
        ALC262_FIXUP_HP_Z200,
        ALC262_FIXUP_TYAN,
        ALC262_FIXUP_LENOVO_3000,
@@ -2169,6 +2170,15 @@ static const struct hda_fixup alc262_fixups[] = {
                        { }
                }
        },
+       [ALC262_FIXUP_FSC_S7110] = {
+               .type = HDA_FIXUP_PINS,
+               .v.pins = (const struct hda_pintbl[]) {
+                       { 0x15, 0x90170110 }, /* speaker */
+                       { }
+               },
+               .chained = true,
+               .chain_id = ALC262_FIXUP_BENQ,
+       },
        [ALC262_FIXUP_HP_Z200] = {
                .type = HDA_FIXUP_PINS,
                .v.pins = (const struct hda_pintbl[]) {
@@ -2216,7 +2226,7 @@ static const struct hda_fixup alc262_fixups[] = {
 
 static const struct snd_pci_quirk alc262_fixup_tbl[] = {
        SND_PCI_QUIRK(0x103c, 0x170b, "HP Z200", ALC262_FIXUP_HP_Z200),
-       SND_PCI_QUIRK(0x10cf, 0x1397, "Fujitsu", ALC262_FIXUP_BENQ),
+       SND_PCI_QUIRK(0x10cf, 0x1397, "Fujitsu Lifebook S7110", ALC262_FIXUP_FSC_S7110),
        SND_PCI_QUIRK(0x10cf, 0x142d, "Fujitsu Lifebook E8410", ALC262_FIXUP_BENQ),
        SND_PCI_QUIRK(0x10f1, 0x2915, "Tyan Thunder n6650W", ALC262_FIXUP_TYAN),
        SND_PCI_QUIRK(0x1734, 0x1147, "FSC Celsius H270", ALC262_FIXUP_FSC_H270),