ALSA: hda/realtek - fix headset mic detection for MSI MS-B171
authorAnisse Astier <anisse@astier.eu>
Fri, 23 Nov 2018 16:59:11 +0000 (17:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 18:32:08 +0000 (19:32 +0100)
commit524841156bbe27435c95bc1090a8517008899229
tree978689ab90096b78fe41c64cc3e4855bcc665ae3
parent094c00891be81d9ce51b81ad808d2e5fedad5e24
ALSA: hda/realtek - fix headset mic detection for MSI MS-B171

commit 8cd65271f8e545ddeed10ecc2e417936bdff168e upstream.

MSI Cubi N 8GL (MS-B171) needs the same fixup as its older model, the
MS-B120, in order for the headset mic to be properly detected.

They both use a single 3-way jack for both mic and headset with an
ALC283 codec, with the same pins used.

Cc: stable@vger.kernel.org
Signed-off-by: Anisse Astier <anisse@astier.eu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c