[A/B/OEM] ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags
diff mbox series

Message ID 1524546621-7216-2-git-send-email-hui.wang@canonical.com
State Accepted
Headers show
  • [A/B/OEM] ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags
Related show

Commit Message

Hui Wang April 24, 2018, 5:10 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/1766398

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

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

Fixes: f0ba9d699e5c ("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>
(cherry picked from commit 3ce0d5aa265bcc0a4b281cb0cabf92491276101b)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
 sound/pci/hda/patch_realtek.c | 2 ++
 1 file changed, 2 insertions(+)


Aaron Ma April 26, 2018, 7:49 a.m. UTC | #1
Acked-by: Aaron Ma <aaron.ma@canonical.com>

diff mbox series

diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index ded79e4..5f9b3d1 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -6252,6 +6252,8 @@  static const struct hda_fixup alc269_fixups[] = {
 			{ 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */
 			{ }
+		.chained = true,
+		.chain_id = ALC269_FIXUP_HEADSET_MIC