Skip to content

Commit a6ac60b

Browse files
jason77-wangtiwai
authored andcommitted
ALSA: hda/realtek: Fix mute led issue on thinkpad with cs35l41 s-codec
The quirk ALC287_FIXUP_CS35L41_I2C_2 needs to chain the quirk ALC269_FIXUP_THINKPAD_ACPI, otherwise the mute led will not work if a thinkpad machine applies that quirk. And it will be safe if non-thinkpad machines apply that quirk since hda_fixup_thinkpad_acpi() will check and return in this case. Fixes: ae7abe3 ("ALSA: hda/realtek: Add CS35L41 support for Thinkpad laptops") Signed-off-by: Hui Wang <hui.wang@canonical.com> Link: https://lore.kernel.org/r/20220422073937.10073-1-hui.wang@canonical.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 86222af commit a6ac60b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sound/pci/hda/patch_realtek.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8769,6 +8769,8 @@ static const struct hda_fixup alc269_fixups[] = {
87698769
[ALC287_FIXUP_CS35L41_I2C_2] = {
87708770
.type = HDA_FIXUP_FUNC,
87718771
.v.func = cs35l41_fixup_i2c_two,
8772+
.chained = true,
8773+
.chain_id = ALC269_FIXUP_THINKPAD_ACPI,
87728774
},
87738775
[ALC287_FIXUP_CS35L41_I2C_2_HP_GPIO_LED] = {
87748776
.type = HDA_FIXUP_FUNC,

0 commit comments

Comments
 (0)