ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671
authorhuangwenhui <huangwenhuia@uniontech.com>
Fri, 11 Mar 2022 09:38:36 +0000 (17:38 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2022 06:46:46 +0000 (08:46 +0200)
commitf7a7cd530a9efe129538c698e68755ad5708cc5f
treee94d32af51f56dd83e44c8b1159e9087d6e55f0e
parent0c4190b41a69990666b4000999e27f8f1b2a426b
ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671

commit 882bd07f564f97fca6e42ce6ce627ce24ce1ef5a upstream.

On a HP 288 Pro G8, the front mic could not be detected.In order to
get it working, the pin configuration needs to be set correctly, and
the ALC671_FIXUP_HP_HEADSET_MIC2 fixup needs to be applied.

Signed-off-by: huangwenhui <huangwenhuia@uniontech.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220311093836.20754-1-huangwenhuia@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c