ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform
authorJeremy Szu <jeremy.szu@canonical.com>
Thu, 5 Jan 2023 04:41:53 +0000 (12:41 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Jan 2023 09:33:44 +0000 (10:33 +0100)
commit57f6bea5218c37426ccf68b37fa66a0f476ef869
tree3ea87b2405122288aed722777e0138a1d11742e4
parent0e19738afc84fc2f8ed1ad1baa0373fcb8ebca36
ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform

commit 9c694fbfe6f36017b060ad74c7565cb379852e40 upstream.

There is a HP platform uses ALC236 codec which using GPIO2 to control
mute LED and GPIO1 to control micmute LED.
Thus, add a quirk to make them work.

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