[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220317221134.566358-1-kai.heng.feng@canonical.com>
Date: Fri, 18 Mar 2022 06:11:33 +0800
From: Kai-Heng Feng <kai.heng.feng@...onical.com>
To: tiwai@...e.com
Cc: Kai-Heng Feng <kai.heng.feng@...onical.com>,
Jaroslav Kysela <perex@...ex.cz>,
Jeremy Szu <jeremy.szu@...onical.com>,
Werner Sembach <wse@...edocomputers.com>,
Hui Wang <hui.wang@...onical.com>,
Lucas Tanure <tanureal@...nsource.cirrus.com>,
Cameron Berkenpas <cam@...-zeon.de>,
Kailang Yang <kailang@...ltek.com>, Sami Loone <sami@...ne.fi>,
Hans de Goede <hdegoede@...hat.com>,
Stefan Binding <sbinding@...nsource.cirrus.com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: [PATCH] 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@...onical.com>
---
sound/pci/hda/patch_realtek.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 4650ef9110d62..1d14be4ee31d8 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -8773,9 +8773,9 @@ static const struct hda_fixup alc269_fixups[] = {
},
[ALC245_FIXUP_CS35L41_SPI_4_HP_GPIO_LED] = {
.type = HDA_FIXUP_FUNC,
- .v.func = alc245_fixup_hp_gpio_led,
+ .v.func = cs35l41_fixup_spi_four,
.chained = true,
- .chain_id = ALC245_FIXUP_CS35L41_SPI_4,
+ .chain_id = ALC285_FIXUP_HP_GPIO_LED,
},
[ALC285_FIXUP_HP_SPEAKERS_MICMUTE_LED] = {
.type = HDA_FIXUP_VERBS,
--
2.34.1
Powered by blists - more mailing lists