ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machines
authorJeremy Szu <jeremy.szu@canonical.com>
Wed, 6 Jan 2021 13:05:46 +0000 (21:05 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 19 Jan 2021 17:27:17 +0000 (18:27 +0100)
commit617b1bae7ee989f7eeefb55a833db02ebfeaa303
tree8048fbe9eeac8665831902112a4b78415aec4aaa
parentf37fba66a437677141d829e7969ae2e35bc146dd
ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machines

commit 91bc156817a3c2007332b64b4f85c32aafbbbea6 upstream.

 * The HP ZBook Fury 15/17 G7 Mobile Workstation are using ALC285 codec
   which is using 0x04 to control mute LED and 0x01 to control micmute LED.

 * The right channel speaker is no sound and it needs to expose GPIO1 for
   initialing AMP.

Add quirks to support them.

Signed-off-by: Jeremy Szu <jeremy.szu@canonical.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210106130549.100532-1-jeremy.szu@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