ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc221
authorMeng Tang <tangmeng@uniontech.com>
Wed, 13 Jul 2022 06:33:32 +0000 (14:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Jul 2022 19:24:10 +0000 (21:24 +0200)
commitcd2731b3efe80b14c6a88eb3bb895136f9a0d62c
tree1818376727b9b2ecaccf14e0faf4487a4734824a
parentdd9746cf6da3988c06da1e9df83358bc7d5dd936
ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc221

commit 4ba5c853d7945b3855c3dcb293f7f9f019db641e upstream.

On a HP 288 Pro G2 MT (X9W02AV), the front mic could not be detected.
In order to get it working, the pin configuration needs to be set
correctly, and the ALC221_FIXUP_HP_288PRO_MIC_NO_PRESENCE fixup needs
to be applied.

Signed-off-by: Meng Tang <tangmeng@uniontech.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220713063332.30095-1-tangmeng@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