]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ALSA: hda/conexant: Add pin config quirk for Lenovo IdeaPad Slim 5 16AKP10
authorGalen Hassen <rwekyes@gmail.com>
Tue, 16 Jun 2026 17:32:57 +0000 (10:32 -0700)
committerTakashi Iwai <tiwai@suse.de>
Wed, 17 Jun 2026 09:04:35 +0000 (11:04 +0200)
commitf7c4968ae3af3e819428da5416c2dfd361473f5c
treec88f86e2ce5747fd583e865500b60b5613c39334
parent4a60127debb9e370d6c0e22a307326b624a141f3
ALSA: hda/conexant: Add pin config quirk for Lenovo IdeaPad Slim 5 16AKP10

The Lenovo IdeaPad Slim 5 16AKP10 (PCI SSID 17aa:38b6) uses the
Conexant SN6140 codec. The internal microphone is on pin 0x1a but
the BIOS configures it with pin default 0x95a60120, which includes
a jack detection bit that causes the kernel to treat it as an
unplugged external mic rather than a fixed internal mic.

Add a pin config quirk that overrides pin 0x1a to 0x95a60130,
setting the connectivity bits to indicate a fixed/always-connected
device. This allows the internal microphone to be correctly
identified and used.

Signed-off-by: Galen Hassen <rwekyes@gmail.com>
Link: https://patch.msgid.link/20260616173257.37373-1-rwekyes@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/codecs/conexant.c