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 07:58:43 +0000 (09:58 +0200)
commit0e7cdc8059a04fa80839a02f284a7199fc62269c
tree1499e1a8389b6d5598b146c3558912562eb9f82c
parent8e6ea2176222af06b49e8b7ff5cc62745f952ec4
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