Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ALSA: hda/realtek - Enable mute LEDs on HP ENVY x360 15-es0xxx

The mute and mic-mute LEDs on HP ENVY x360 Convertible 15-es0xxx
(PCI SSID 103c:88b3) do not work with the current driver.

This model requires a combination of COEFBIT and GPIO fixups to
correctly control the LEDs. Introduce a new fixup function
alc245_fixup_hp_envy_x360_mute_led and add a quirk to apply it.

Signed-off-by: Illia Barbashyn <04baril@gmail.com>
Link: https://patch.msgid.link/20260207221955.24132-1-04baril@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Illia Barbashyn and committed by
Takashi Iwai
ac1ff574 1585cf83

+13
+13
sound/hda/codecs/realtek/alc269.c
··· 1660 1660 alc285_fixup_hp_gpio_micmute_led(codec, fix, action); 1661 1661 } 1662 1662 1663 + static void alc245_fixup_hp_envy_x360_mute_led(struct hda_codec *codec, 1664 + const struct hda_fixup *fix, int action) 1665 + { 1666 + alc245_fixup_hp_mute_led_v1_coefbit(codec, fix, action); 1667 + alc245_fixup_hp_gpio_led(codec, fix, action); 1668 + } 1669 + 1663 1670 static void alc236_fixup_hp_mute_led(struct hda_codec *codec, 1664 1671 const struct hda_fixup *fix, int action) 1665 1672 { ··· 3915 3908 ALC285_FIXUP_HP_GPIO_LED, 3916 3909 ALC285_FIXUP_HP_MUTE_LED, 3917 3910 ALC285_FIXUP_HP_SPECTRE_X360_MUTE_LED, 3911 + ALC245_FIXUP_HP_ENVY_X360_MUTE_LED, 3918 3912 ALC285_FIXUP_HP_BEEP_MICMUTE_LED, 3919 3913 ALC236_FIXUP_HP_MUTE_LED_COEFBIT2, 3920 3914 ALC236_FIXUP_HP_GPIO_LED, ··· 5554 5546 .type = HDA_FIXUP_FUNC, 5555 5547 .v.func = alc285_fixup_hp_spectre_x360_mute_led, 5556 5548 }, 5549 + [ALC245_FIXUP_HP_ENVY_X360_MUTE_LED] = { 5550 + .type = HDA_FIXUP_FUNC, 5551 + .v.func = alc245_fixup_hp_envy_x360_mute_led, 5552 + }, 5557 5553 [ALC285_FIXUP_HP_BEEP_MICMUTE_LED] = { 5558 5554 .type = HDA_FIXUP_FUNC, 5559 5555 .v.func = alc285_fixup_hp_beep, ··· 6826 6814 SND_PCI_QUIRK(0x103c, 0x8895, "HP EliteBook 855 G8 Notebook PC", ALC285_FIXUP_HP_SPEAKERS_MICMUTE_LED), 6827 6815 SND_PCI_QUIRK(0x103c, 0x8896, "HP EliteBook 855 G8 Notebook PC", ALC285_FIXUP_HP_MUTE_LED), 6828 6816 SND_PCI_QUIRK(0x103c, 0x8898, "HP EliteBook 845 G8 Notebook PC", ALC285_FIXUP_HP_LIMIT_INT_MIC_BOOST), 6817 + SND_PCI_QUIRK(0x103c, 0x88b3, "HP ENVY x360 Convertible 15-es0xxx", ALC245_FIXUP_HP_ENVY_X360_MUTE_LED), 6829 6818 SND_PCI_QUIRK(0x103c, 0x88d0, "HP Pavilion 15-eh1xxx (mainboard 88D0)", ALC287_FIXUP_HP_GPIO_LED), 6830 6819 SND_PCI_QUIRK(0x103c, 0x88dd, "HP Pavilion 15z-ec200", ALC285_FIXUP_HP_MUTE_LED), 6831 6820 SND_PCI_QUIRK(0x103c, 0x88eb, "HP Victus 16-e0xxx", ALC245_FIXUP_HP_MUTE_LED_V2_COEFBIT),