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>
Mon, 25 Jun 2018 23:53:58 +0000 (07:53 +0800)
commitc012570e98c01baf04ec0c22bf973d92e6b4c14c
tree68524aba5feec2f417101c2f03bf7e14c9f27387
parentb8a3b4fd64e06960aadd194789058650baa31bd4
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