aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-06-29 11:21:00 -0400
committerTakashi Iwai <tiwai@suse.de>2011-07-08 04:20:18 -0400
commite59ea3ed9fe0cde526c004441465d13287426b29 (patch)
tree44ff1cb05938c678b7fd9803974f8a003fcb81a7 /sound/pci/hda/patch_realtek.c
parenta2a870c82797e47884b2736e95e9d9c89a51c219 (diff)
ALSA: hda - Add a fix-up for HP RP5800
The BIOS provides bogus pin configs, and also invalid SSID. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r--sound/pci/hda/patch_realtek.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index c1adb3bce7e8..a29e6b3c6a70 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6126,6 +6126,7 @@ enum {
6126 ALC272_FIXUP_MARIO, 6126 ALC272_FIXUP_MARIO,
6127 ALC662_FIXUP_CZC_P10T, 6127 ALC662_FIXUP_CZC_P10T,
6128 ALC662_FIXUP_SKU_IGNORE, 6128 ALC662_FIXUP_SKU_IGNORE,
6129 ALC662_FIXUP_HP_RP5800,
6129}; 6130};
6130 6131
6131static const struct alc_fixup alc662_fixups[] = { 6132static const struct alc_fixup alc662_fixups[] = {
@@ -6158,12 +6159,22 @@ static const struct alc_fixup alc662_fixups[] = {
6158 .type = ALC_FIXUP_SKU, 6159 .type = ALC_FIXUP_SKU,
6159 .v.sku = ALC_FIXUP_SKU_IGNORE, 6160 .v.sku = ALC_FIXUP_SKU_IGNORE,
6160 }, 6161 },
6162 [ALC662_FIXUP_HP_RP5800] = {
6163 .type = ALC_FIXUP_PINS,
6164 .v.pins = (const struct alc_pincfg[]) {
6165 { 0x14, 0x0221201f }, /* HP out */
6166 { }
6167 },
6168 .chained = true,
6169 .chain_id = ALC662_FIXUP_SKU_IGNORE
6170 },
6161}; 6171};
6162 6172
6163static const struct snd_pci_quirk alc662_fixup_tbl[] = { 6173static const struct snd_pci_quirk alc662_fixup_tbl[] = {
6164 SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE), 6174 SND_PCI_QUIRK(0x1025, 0x0308, "Acer Aspire 8942G", ALC662_FIXUP_ASPIRE),
6165 SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE), 6175 SND_PCI_QUIRK(0x1025, 0x031c, "Gateway NV79", ALC662_FIXUP_SKU_IGNORE),
6166 SND_PCI_QUIRK(0x1025, 0x038b, "Acer Aspire 8943G", ALC662_FIXUP_ASPIRE), 6176 SND_PCI_QUIRK(0x1025, 0x038b, "Acer Aspire 8943G", ALC662_FIXUP_ASPIRE),
6177 SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800),
6167 SND_PCI_QUIRK(0x144d, 0xc051, "Samsung R720", ALC662_FIXUP_IDEAPAD), 6178 SND_PCI_QUIRK(0x144d, 0xc051, "Samsung R720", ALC662_FIXUP_IDEAPAD),
6168 SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD), 6179 SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo Ideapad Y550P", ALC662_FIXUP_IDEAPAD),
6169 SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD), 6180 SND_PCI_QUIRK(0x17aa, 0x3a0d, "Lenovo Ideapad Y550", ALC662_FIXUP_IDEAPAD),