Commit e59ea3ed authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Add a fix-up for HP RP5800

The BIOS provides bogus pin configs, and also invalid SSID.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a2a870c8
...@@ -6126,6 +6126,7 @@ enum { ...@@ -6126,6 +6126,7 @@ enum {
ALC272_FIXUP_MARIO, ALC272_FIXUP_MARIO,
ALC662_FIXUP_CZC_P10T, ALC662_FIXUP_CZC_P10T,
ALC662_FIXUP_SKU_IGNORE, ALC662_FIXUP_SKU_IGNORE,
ALC662_FIXUP_HP_RP5800,
}; };
static const struct alc_fixup alc662_fixups[] = { static const struct alc_fixup alc662_fixups[] = {
...@@ -6158,12 +6159,22 @@ static const struct alc_fixup alc662_fixups[] = { ...@@ -6158,12 +6159,22 @@ static const struct alc_fixup alc662_fixups[] = {
.type = ALC_FIXUP_SKU, .type = ALC_FIXUP_SKU,
.v.sku = ALC_FIXUP_SKU_IGNORE, .v.sku = ALC_FIXUP_SKU_IGNORE,
}, },
[ALC662_FIXUP_HP_RP5800] = {
.type = ALC_FIXUP_PINS,
.v.pins = (const struct alc_pincfg[]) {
{ 0x14, 0x0221201f }, /* HP out */
{ }
},
.chained = true,
.chain_id = ALC662_FIXUP_SKU_IGNORE
},
}; };
static const struct snd_pci_quirk alc662_fixup_tbl[] = { static const struct snd_pci_quirk alc662_fixup_tbl[] = {
SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE), SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE),
SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE), SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE),
SND_PCI_QUIRK(0x1025, 0x038b, "Acer Aspire 8943G", ALC662_FIXUP_ASPIRE), SND_PCI_QUIRK(0x1025, 0x038b, "Acer Aspire 8943G", ALC662_FIXUP_ASPIRE),
SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800),
SND_PCI_QUIRK(0x144d, 0xc051, "Samsung R720", ALC662_FIXUP_IDEAPAD), SND_PCI_QUIRK(0x144d, 0xc051, "Samsung R720", ALC662_FIXUP_IDEAPAD),
SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD), SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD),
SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD), SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment