ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs
authorHui Wang <hui.wang@canonical.com>
Wed, 30 May 2018 04:33:07 +0000 (12:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Jun 2018 00:06:30 +0000 (08:06 +0800)
commitff7eb857eeca10368f43343ac8c5e6f39250adeb
treeba45ca8096a7cad2eca14016dae3e51407575212
parentb1cf23c2c8db7c73d3ae684fa13d0a28631d1768
ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs

commit 986376b68dcc95bb7df60ad30c2353c1f7578fa5 upstream.

We have several Lenovo AIOs like M810z, M820z and M920z, they have
the same design for mic-mute hotkey and led and they use the same
codec with the same pin configuration, so use the pin conf table to
apply fix to all of them.

Fixes: 29693efcea0f ("ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine")
Cc: <stable@vger.kernel.org>
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