提交 7513e6da 编写于 作者: T Takashi Iwai

ALSA: hda - Fix speaker pin of FSC Lifebook S7110 laptop

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: NTakashi Iwai <tiwai@suse.de>
上级 1799cdd5
...@@ -2151,6 +2151,7 @@ static int alc262_parse_auto_config(struct hda_codec *codec) ...@@ -2151,6 +2151,7 @@ static int alc262_parse_auto_config(struct hda_codec *codec)
*/ */
enum { enum {
ALC262_FIXUP_FSC_H270, ALC262_FIXUP_FSC_H270,
ALC262_FIXUP_FSC_S7110,
ALC262_FIXUP_HP_Z200, ALC262_FIXUP_HP_Z200,
ALC262_FIXUP_TYAN, ALC262_FIXUP_TYAN,
ALC262_FIXUP_LENOVO_3000, ALC262_FIXUP_LENOVO_3000,
...@@ -2169,6 +2170,15 @@ static const struct hda_fixup alc262_fixups[] = { ...@@ -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] = { [ALC262_FIXUP_HP_Z200] = {
.type = HDA_FIXUP_PINS, .type = HDA_FIXUP_PINS,
.v.pins = (const struct hda_pintbl[]) { .v.pins = (const struct hda_pintbl[]) {
...@@ -2216,7 +2226,7 @@ static const struct hda_fixup alc262_fixups[] = { ...@@ -2216,7 +2226,7 @@ static const struct hda_fixup alc262_fixups[] = {
static const struct snd_pci_quirk alc262_fixup_tbl[] = { static const struct snd_pci_quirk alc262_fixup_tbl[] = {
SND_PCI_QUIRK(0x103c, 0x170b, "HP Z200", ALC262_FIXUP_HP_Z200), 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(0x10cf, 0x142d, "Fujitsu Lifebook E8410", ALC262_FIXUP_BENQ),
SND_PCI_QUIRK(0x10f1, 0x2915, "Tyan Thunder n6650W", ALC262_FIXUP_TYAN), SND_PCI_QUIRK(0x10f1, 0x2915, "Tyan Thunder n6650W", ALC262_FIXUP_TYAN),
SND_PCI_QUIRK(0x1734, 0x1147, "FSC Celsius H270", ALC262_FIXUP_FSC_H270), SND_PCI_QUIRK(0x1734, 0x1147, "FSC Celsius H270", ALC262_FIXUP_FSC_H270),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册