Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ALSA: hda - Add pinfix for LG LW25 laptop

Correct the pins for a line-in and a headphone on LG LW25 laptop with
ALC880 codec. Other pins seem fine.

Reported-and-tested-by: Joonas Saarinen <jonskunator@gmail.com>
Cc: <stable@vger.kernel.org> [v3.9+]
Signed-off-by: Takashi Iwai <tiwai@suse.de>

+10
+10
sound/pci/hda/patch_realtek.c
··· 1031 1031 ALC880_FIXUP_GPIO2, 1032 1032 ALC880_FIXUP_MEDION_RIM, 1033 1033 ALC880_FIXUP_LG, 1034 + ALC880_FIXUP_LG_LW25, 1034 1035 ALC880_FIXUP_W810, 1035 1036 ALC880_FIXUP_EAPD_COEF, 1036 1037 ALC880_FIXUP_TCL_S700, ··· 1087 1086 { 0x16, 0x411111f0 }, 1088 1087 { 0x18, 0x411111f0 }, 1089 1088 { 0x1a, 0x411111f0 }, 1089 + { } 1090 + } 1091 + }, 1092 + [ALC880_FIXUP_LG_LW25] = { 1093 + .type = HDA_FIXUP_PINS, 1094 + .v.pins = (const struct hda_pintbl[]) { 1095 + { 0x1a, 0x0181344f }, /* line-in */ 1096 + { 0x1b, 0x0321403f }, /* headphone */ 1090 1097 { } 1091 1098 } 1092 1099 }, ··· 1350 1341 SND_PCI_QUIRK(0x1854, 0x003b, "LG", ALC880_FIXUP_LG), 1351 1342 SND_PCI_QUIRK(0x1854, 0x005f, "LG P1 Express", ALC880_FIXUP_LG), 1352 1343 SND_PCI_QUIRK(0x1854, 0x0068, "LG w1", ALC880_FIXUP_LG), 1344 + SND_PCI_QUIRK(0x1854, 0x0077, "LG LW25", ALC880_FIXUP_LG_LW25), 1353 1345 SND_PCI_QUIRK(0x19db, 0x4188, "TCL S700", ALC880_FIXUP_TCL_S700), 1354 1346 1355 1347 /* Below is the copied entries from alc880_quirks.c.