Skip to content

Commit 73ff391

Browse files
Zhang Hengtiwai
authored andcommitted
ALSA: hda/realtek: change quirk for HP OmniBook 7 Laptop 16-bh0xxx
HP OmniBook 7 Laptop 16-bh0xxx has the same PCI subsystem ID 0x103c8e60, and the ALC245 on it needs this quirk to control the mute LED. Link: https://bugzilla.kernel.org/show_bug.cgi?id=221214 Cc: <stable@vger.kernel.org> Tested-by: Artem S. Tashkinov <aros@gmx.com> Signed-off-by: Zhang Heng <zhangheng@kylinos.cn> Link: https://patch.msgid.link/20260327101215.481108-1-zhangheng@kylinos.cn Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent ed4da36 commit 73ff391

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

sound/hda/codecs/realtek/alc269.c

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4122,6 +4122,7 @@ enum {
41224122
ALC233_FIXUP_LENOVO_GPIO2_MIC_HOTKEY,
41234123
ALC245_FIXUP_BASS_HP_DAC,
41244124
ALC245_FIXUP_ACER_MICMUTE_LED,
4125+
ALC245_FIXUP_CS35L41_I2C_2_MUTE_LED,
41254126
};
41264127

41274128
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -6651,6 +6652,12 @@ static const struct hda_fixup alc269_fixups[] = {
66516652
.v.func = alc285_fixup_hp_coef_micmute_led,
66526653
.chained = true,
66536654
.chain_id = ALC2XX_FIXUP_HEADSET_MIC,
6655+
},
6656+
[ALC245_FIXUP_CS35L41_I2C_2_MUTE_LED] = {
6657+
.type = HDA_FIXUP_FUNC,
6658+
.v.func = alc245_fixup_hp_mute_led_coefbit,
6659+
.chained = true,
6660+
.chain_id = ALC287_FIXUP_CS35L41_I2C_2,
66546661
}
66556662
};
66566663

@@ -7177,7 +7184,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
71777184
SND_PCI_QUIRK(0x103c, 0x8e37, "HP 16 Piston OmniBook X", ALC287_FIXUP_CS35L41_I2C_2),
71787185
SND_PCI_QUIRK(0x103c, 0x8e3a, "HP Agusta", ALC287_FIXUP_CS35L41_I2C_2),
71797186
SND_PCI_QUIRK(0x103c, 0x8e3b, "HP Agusta", ALC287_FIXUP_CS35L41_I2C_2),
7180-
SND_PCI_QUIRK(0x103c, 0x8e60, "HP Trekker ", ALC287_FIXUP_CS35L41_I2C_2),
7187+
SND_PCI_QUIRK(0x103c, 0x8e60, "HP OmniBook 7 Laptop 16-bh0xxx", ALC245_FIXUP_CS35L41_I2C_2_MUTE_LED),
71817188
SND_PCI_QUIRK(0x103c, 0x8e61, "HP Trekker ", ALC287_FIXUP_CS35L41_I2C_2),
71827189
SND_PCI_QUIRK(0x103c, 0x8e62, "HP Trekker ", ALC287_FIXUP_CS35L41_I2C_2),
71837190
SND_PCI_QUIRK(0x103c, 0x8e8a, "HP NexusX", ALC245_FIXUP_HP_TAS2781_I2C_MUTE_LED),

0 commit comments

Comments
 (0)