ALSA: hda - fix the mic mute button and led problem for a Lenovo AIO
authorHui Wang <hui.wang@canonical.com>
Fri, 11 Mar 2016 04:04:02 +0000 (12:04 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Apr 2016 16:08:52 +0000 (09:08 -0700)
commitdb894649e34abceade484c35e5acd346e74e916d
tree378dc40caa28fe913c472f51621cdcaa927f3ee8
parentee2a37ab39b013589647ced2e6526c7358cb2111
ALSA: hda - fix the mic mute button and led problem for a Lenovo AIO

commit 6ef2f68fa38bf415830f67903d87180d933e0f47 upstream.

This Lenovo ThinkCentre AIO also uses Line2 as mic mute button and
uses GPIO2 to control the mic mute led, so applying this quirk can
make both the button and led work.

BugLink: https://bugs.launchpad.net/bugs/1555912
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c