]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs
authorHui Wang <hui.wang@canonical.com>
Wed, 6 Jun 2018 01:01:39 +0000 (09:01 +0800)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:30:10 +0000 (14:30 -0400)
commit56d3b8870f6c2548ace1ac1b66ff081ccc97c846
treec61a927f4487f76696aa4e58b237b468aa4c0605
parent7632554fb1fa8af260e58e7c20b27397a80fb6b4
ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs

BugLink: https://bugs.launchpad.net/bugs/1774306
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>
(cherry picked from commit 986376b68dcc95bb7df60ad30c2353c1f7578fa5
git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git)
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Acked-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
Acked-by: Kleber Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
sound/pci/hda/patch_realtek.c