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)
committerSasha Levin <sasha.levin@oracle.com>
Mon, 18 Apr 2016 12:50:54 +0000 (08:50 -0400)
commita14fea4d0284643ffd8538d2204cfb1fa8ac804d
treeb7da1c331a0c30176dda5c2c9c769163b615bab0
parent843513677254865b92c551339103e8eaa2b07669
ALSA: hda - fix the mic mute button and led problem for a Lenovo AIO

[ Upstream commit 6ef2f68fa38bf415830f67903d87180d933e0f47 ]

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.

Cc: stable@vger.kernel.org
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: Sasha Levin <sasha.levin@oracle.com>
sound/pci/hda/patch_realtek.c