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>
Tue, 24 Jan 2023 06:22:43 +0000 (07:22 +0100)
commit560373fb1e9a43956df9752b3fd321a68682e2bc
treef4de823358a1f3c4a2d2368697dda3442c7aa1de
parent26264260a80b33c9654e6884ebd9cdd5942fee70
ALSA: hda/realtek: fix mute/micmute LEDs don't work for a HP platform

[ Upstream commit 9c694fbfe6f36017b060ad74c7565cb379852e40 ]

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: Sasha Levin <sashal@kernel.org>
sound/pci/hda/patch_realtek.c