From: Kai-Heng Feng <kai.heng.feng@canonical.com> To: tiwai@suse.com Cc: Kai-Heng Feng <kai.heng.feng@canonical.com>, Jaroslav Kysela <perex@perex.cz>, Jeremy Szu <jeremy.szu@canonical.com>, Werner Sembach <wse@tuxedocomputers.com>, Hui Wang <hui.wang@canonical.com>, Lucas Tanure <tanureal@opensource.cirrus.com>, Cameron Berkenpas <cam@neo-zeon.de>, Kailang Yang <kailang@realtek.com>, Sami Loone <sami@loone.fi>, Hans de Goede <hdegoede@redhat.com>, Stefan Binding <sbinding@opensource.cirrus.com>, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: hda/realtek: Fix LED on Zbook Studio G9 Date: Fri, 18 Mar 2022 06:11:33 +0800 [thread overview] Message-ID: <20220317221134.566358-1-kai.heng.feng@canonical.com> (raw) 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> --- 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
WARNING: multiple messages have this Message-ID (diff)
From: Kai-Heng Feng <kai.heng.feng@canonical.com> To: tiwai@suse.com Cc: Stefan Binding <sbinding@opensource.cirrus.com>, Kailang Yang <kailang@realtek.com>, Lucas Tanure <tanureal@opensource.cirrus.com>, Jeremy Szu <jeremy.szu@canonical.com>, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Werner Sembach <wse@tuxedocomputers.com>, Hui Wang <hui.wang@canonical.com>, Hans de Goede <hdegoede@redhat.com>, Kai-Heng Feng <kai.heng.feng@canonical.com>, Sami Loone <sami@loone.fi>, Cameron Berkenpas <cam@neo-zeon.de> Subject: [PATCH] ALSA: hda/realtek: Fix LED on Zbook Studio G9 Date: Fri, 18 Mar 2022 06:11:33 +0800 [thread overview] Message-ID: <20220317221134.566358-1-kai.heng.feng@canonical.com> (raw) 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> --- 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
next reply other threads:[~2022-03-17 22:12 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-03-17 22:11 Kai-Heng Feng [this message] 2022-03-17 22:11 ` [PATCH] ALSA: hda/realtek: Fix LED on Zbook Studio G9 Kai-Heng Feng 2022-03-18 8:19 ` Takashi Iwai 2022-03-18 8:19 ` Takashi Iwai
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220317221134.566358-1-kai.heng.feng@canonical.com \ --to=kai.heng.feng@canonical.com \ --cc=alsa-devel@alsa-project.org \ --cc=cam@neo-zeon.de \ --cc=hdegoede@redhat.com \ --cc=hui.wang@canonical.com \ --cc=jeremy.szu@canonical.com \ --cc=kailang@realtek.com \ --cc=linux-kernel@vger.kernel.org \ --cc=perex@perex.cz \ --cc=sami@loone.fi \ --cc=sbinding@opensource.cirrus.com \ --cc=tanureal@opensource.cirrus.com \ --cc=tiwai@suse.com \ --cc=wse@tuxedocomputers.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.