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 09:40:12 +0000 (10:40 +0100)
commite029ef3a9c82ae05792173235f88d5e46db0f79c
tree581bbf5fe9b048b7e040ff8eee64e41f244828a2
parent0119d5d44034399478ae80349e810acb15aa5e1d
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