Skip to content

Commit 211f98c

Browse files
tiwaigregkh
authored andcommitted
ALSA: hda/conexant: Fix headphone jack handling on Acer Swift SF314
commit 7bc0df8 upstream. Acer Swift SF314 (SSID 1025:136d) needs a bit of tweaks of the pin configurations for NID 0x16 and 0x19 to make the headphone / headset jack working. NID 0x17 can remain as is for the working speaker, and the built-in mic is supported via SOF. Cc: <stable@vger.kernel.org> Link: https://bugzilla.kernel.org/show_bug.cgi?id=221086 Link: https://patch.msgid.link/20260217104414.62911-1-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent d0871a1 commit 211f98c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

sound/hda/codecs/conexant.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,7 @@ enum {
299299
CXT_PINCFG_SWS_JS201D,
300300
CXT_PINCFG_TOP_SPEAKER,
301301
CXT_FIXUP_HP_A_U,
302+
CXT_FIXUP_ACER_SWIFT_HP,
302303
};
303304

304305
/* for hda_fixup_thinkpad_acpi() */
@@ -1024,6 +1025,14 @@ static const struct hda_fixup cxt_fixups[] = {
10241025
.type = HDA_FIXUP_FUNC,
10251026
.v.func = cxt_fixup_hp_a_u,
10261027
},
1028+
[CXT_FIXUP_ACER_SWIFT_HP] = {
1029+
.type = HDA_FIXUP_PINS,
1030+
.v.pins = (const struct hda_pintbl[]) {
1031+
{ 0x16, 0x0321403f }, /* Headphone */
1032+
{ 0x19, 0x40f001f0 }, /* Mic */
1033+
{ }
1034+
},
1035+
},
10271036
};
10281037

10291038
static const struct hda_quirk cxt5045_fixups[] = {
@@ -1073,6 +1082,7 @@ static const struct hda_quirk cxt5066_fixups[] = {
10731082
SND_PCI_QUIRK(0x1025, 0x0543, "Acer Aspire One 522", CXT_FIXUP_STEREO_DMIC),
10741083
SND_PCI_QUIRK(0x1025, 0x054c, "Acer Aspire 3830TG", CXT_FIXUP_ASPIRE_DMIC),
10751084
SND_PCI_QUIRK(0x1025, 0x054f, "Acer Aspire 4830T", CXT_FIXUP_ASPIRE_DMIC),
1085+
SND_PCI_QUIRK(0x1025, 0x136d, "Acer Swift SF314", CXT_FIXUP_ACER_SWIFT_HP),
10761086
SND_PCI_QUIRK(0x103c, 0x8079, "HP EliteBook 840 G3", CXT_FIXUP_HP_DOCK),
10771087
SND_PCI_QUIRK(0x103c, 0x807C, "HP EliteBook 820 G3", CXT_FIXUP_HP_DOCK),
10781088
SND_PCI_QUIRK(0x103c, 0x80FD, "HP ProBook 640 G2", CXT_FIXUP_HP_DOCK),

0 commit comments

Comments
 (0)