Skip to content

Commit db8a38e

Browse files
committed
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 <[email protected]> Cc: <[email protected]> [v3.9+] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 57e6dae commit db8a38e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,7 @@ enum {
10311031
ALC880_FIXUP_GPIO2,
10321032
ALC880_FIXUP_MEDION_RIM,
10331033
ALC880_FIXUP_LG,
1034+
ALC880_FIXUP_LG_LW25,
10341035
ALC880_FIXUP_W810,
10351036
ALC880_FIXUP_EAPD_COEF,
10361037
ALC880_FIXUP_TCL_S700,
@@ -1089,6 +1090,14 @@ static const struct hda_fixup alc880_fixups[] = {
10891090
{ }
10901091
}
10911092
},
1093+
[ALC880_FIXUP_LG_LW25] = {
1094+
.type = HDA_FIXUP_PINS,
1095+
.v.pins = (const struct hda_pintbl[]) {
1096+
{ 0x1a, 0x0181344f }, /* line-in */
1097+
{ 0x1b, 0x0321403f }, /* headphone */
1098+
{ }
1099+
}
1100+
},
10921101
[ALC880_FIXUP_W810] = {
10931102
.type = HDA_FIXUP_PINS,
10941103
.v.pins = (const struct hda_pintbl[]) {
@@ -1341,6 +1350,7 @@ static const struct snd_pci_quirk alc880_fixup_tbl[] = {
13411350
SND_PCI_QUIRK(0x1854, 0x003b, "LG", ALC880_FIXUP_LG),
13421351
SND_PCI_QUIRK(0x1854, 0x005f, "LG P1 Express", ALC880_FIXUP_LG),
13431352
SND_PCI_QUIRK(0x1854, 0x0068, "LG w1", ALC880_FIXUP_LG),
1353+
SND_PCI_QUIRK(0x1854, 0x0077, "LG LW25", ALC880_FIXUP_LG_LW25),
13441354
SND_PCI_QUIRK(0x19db, 0x4188, "TCL S700", ALC880_FIXUP_TCL_S700),
13451355

13461356
/* Below is the copied entries from alc880_quirks.c.

0 commit comments

Comments
 (0)