ALSA: hda/realtek: Fix LED on Zbook Studio G9
authorKai-Heng Feng <kai.heng.feng@canonical.com>
Thu, 17 Mar 2022 22:11:33 +0000 (06:11 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Mar 2022 08:18:59 +0000 (09:18 +0100)
commit864cb14c0fa22344613ae93d68e155bf9bbbc9fb
treedfbd075c58609a25b75af055598599a51db7bc6e
parente6194c8d065389b9393290ecb682118fd982fa33
ALSA: hda/realtek: Fix LED on Zbook Studio G9

Commit 07bcab93946c ("ALSA: hda/realtek: Add support for HP Laptops")
breaks mute and micmute LEDs because it changed the LED quirk from
ALC285_FIXUP_HP_GPIO_LED to ALC245_FIXUP_HP_GPIO_LED, so change it back
here.

Also reorder the chain of quirks to ensure LED quirk is the last one
being applied.

Fixes: 07bcab93946c ("ALSA: hda/realtek: Add support for HP Laptops")
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Link: https://lore.kernel.org/r/20220317221134.566358-1-kai.heng.feng@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c