]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags
authorHui Wang <hui.wang@canonical.com>
Thu, 19 Apr 2018 05:29:04 +0000 (13:29 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 19 Apr 2018 09:43:16 +0000 (11:43 +0200)
commitb13c87d67737bd581d8b40808eea3e2155da3d1a
tree6504c2b066c8365419c305063084cad813f1e2f0
parent7901e213e19128e23e2f34efd7bbfb37410d2ef1
ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags

Otherwise, the pin will be regarded as microphone, and the jack name
is "Mic Phantom", it is always on in the pulseaudio even nothing is
plugged into the jack. So the UI is confusing to users since the
microphone always shows up in the UI even there is no microphone
plugged.

After adding this flag, the jack name is "Headset Mic Phantom", then
the pulseaudio can handle its detection correctly.

Fixes: 665e88edc49e ("ALSA: hda/realtek - Fix Dell headset Mic can't record")
Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c