]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ALSA: hda/realtek - Fix a regression for mute led on Lenovo Carbon X1
authorHui Wang <hui.wang@canonical.com>
Wed, 19 Feb 2020 05:23:06 +0000 (13:23 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 19 Feb 2020 08:14:16 +0000 (09:14 +0100)
Need to chain the THINKPAD_ACPI, otherwise the mute led will not
work.

Fixes: d2cd795c4ece ("ALSA: hda - fixup for the bass speaker on Lenovo Carbon X1 7th gen")
Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://lore.kernel.org/r/20200219052306.24935-1-hui.wang@canonical.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index 477589e7ec1d90b8346542c3dd8cf8bd57b9063f..31bee051233483c33c8b5deb0fa58f802ffde189 100644 (file)
@@ -6684,6 +6684,8 @@ static const struct hda_fixup alc269_fixups[] = {
        [ALC285_FIXUP_SPEAKER2_TO_DAC1] = {
                .type = HDA_FIXUP_FUNC,
                .v.func = alc285_fixup_speaker2_to_dac1,
+               .chained = true,
+               .chain_id = ALC269_FIXUP_THINKPAD_ACPI
        },
        [ALC256_FIXUP_DELL_INSPIRON_7559_SUBWOOFER] = {
                .type = HDA_FIXUP_PINS,