OSDN Git Service

ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO
authorTakashi Iwai <tiwai@suse.de>
Tue, 6 Dec 2016 10:55:17 +0000 (11:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Jan 2017 10:16:09 +0000 (11:16 +0100)
commitf0ea0ade046e1d334ae7aff4a3a1ea508acd61e4
tree2cf698c3dad466446e570565ba8788d2208ed6ac
parentfa695bdc17412df3c6ca5b7375c63b52915096d2
ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO

commit f73cd43ac3b41c0f09a126387f302bbc0d9c726d upstream.

HP Z1 Gen3 AiO with Conexant codec doesn't give an unsolicited event
to the headset mic pin upon the jack plugging, it reports only to the
headphone pin.  It results in the missing mic switching.  Let's fix up
by simply gating the jack event.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_conexant.c