]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: hda/realtek: Fix wrong mic setup for ASUS VivoBook 15
authorTakashi Iwai <tiwai@suse.de>
Tue, 25 Feb 2025 15:45:32 +0000 (16:45 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Mar 2025 17:25:32 +0000 (18:25 +0100)
commit18b90c1abf0ef318c02f80f603be890866cb7cd7
tree3580e054a91ba2c30fd74426cb0c93020da1dc0f
parent2dd3e9cff9cb09e8fadb50a57b4ac3b7bc9c53b6
ALSA: hda/realtek: Fix wrong mic setup for ASUS VivoBook 15

[ Upstream commit 9e7c6779e3530bbdd465214afcd13f19c33e51a2 ]

ASUS VivoBook 15 with SSID 1043:1460 took an incorrect quirk via the
pin pattern matching for ASUS (ALC256_FIXUP_ASUS_MIC), resulting in
the two built-in mic pins (0x13 and 0x1b).  This had worked without
problems casually in the past because the right pin (0x1b) was picked
up as the primary device.  But since we fixed the pin enumeration for
other bugs, the bogus one (0x13) is picked up as the primary device,
hence the bug surfaced now.

For addressing the regression, this patch explicitly specifies the
quirk entry with ALC256_FIXUP_ASUS_MIC_NO_PRESENCE, which sets up only
the headset mic pin.

Fixes: 3b4309546b48 ("ALSA: hda: Fix headset detection failure due to unstable sort")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219807
Link: https://patch.msgid.link/20250225154540.13543-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/pci/hda/patch_realtek.c