aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_realtek.c
diff options
context:
space:
mode:
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 a0df05d03864..4f8c36207997 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -4406,6 +4406,7 @@ enum {
4406 ALC880_FIXUP_MEDION_RIM, 4406 ALC880_FIXUP_MEDION_RIM,
4407 ALC880_FIXUP_LG, 4407 ALC880_FIXUP_LG,
4408 ALC880_FIXUP_W810, 4408 ALC880_FIXUP_W810,
4409 ALC880_FIXUP_EAPD_COEF,
4409}; 4410};
4410 4411
4411static const struct alc_fixup alc880_fixups[] = { 4412static const struct alc_fixup alc880_fixups[] = {
@@ -4443,10 +4444,20 @@ static const struct alc_fixup alc880_fixups[] = {
4443 .chained = true, 4444 .chained = true,
4444 .chain_id = ALC880_FIXUP_GPIO2, 4445 .chain_id = ALC880_FIXUP_GPIO2,
4445 }, 4446 },
4447 [ALC880_FIXUP_EAPD_COEF] = {
4448 .type = ALC_FIXUP_VERBS,
4449 .v.verbs = (const struct hda_verb[]) {
4450 /* change to EAPD mode */
4451 { 0x20, AC_VERB_SET_COEF_INDEX, 0x07 },
4452 { 0x20, AC_VERB_SET_PROC_COEF, 0x3060 },
4453 {}
4454 },
4455 },
4446}; 4456};
4447 4457
4448static const struct snd_pci_quirk alc880_fixup_tbl[] = { 4458static const struct snd_pci_quirk alc880_fixup_tbl[] = {
4449 SND_PCI_QUIRK(0x1019, 0x0f69, "Coeus G610P", ALC880_FIXUP_W810), 4459 SND_PCI_QUIRK(0x1019, 0x0f69, "Coeus G610P", ALC880_FIXUP_W810),
4460 SND_PCI_QUIRK_VENDOR(0x1558, "Clevo", ALC880_FIXUP_EAPD_COEF),
4450 SND_PCI_QUIRK(0x161f, 0x203d, "W810", ALC880_FIXUP_W810), 4461 SND_PCI_QUIRK(0x161f, 0x203d, "W810", ALC880_FIXUP_W810),
4451 SND_PCI_QUIRK(0x161f, 0x205d, "Medion Rim 2150", ALC880_FIXUP_MEDION_RIM), 4462 SND_PCI_QUIRK(0x161f, 0x205d, "Medion Rim 2150", ALC880_FIXUP_MEDION_RIM),
4452 SND_PCI_QUIRK(0x1854, 0x003b, "LG", ALC880_FIXUP_LG), 4463 SND_PCI_QUIRK(0x1854, 0x003b, "LG", ALC880_FIXUP_LG),