ALSA: hda/realtek: Enable speaker pins for Medion E15443 platform
authorKailang Yang <kailang@realtek.com>
Thu, 21 Nov 2024 08:10:42 +0000 (16:10 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Nov 2024 07:47:33 +0000 (08:47 +0100)
Speaker has no sound for Medion E15443.
Added another speaker pins for Medion E15443 platform.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/eac4f3aca2ab45e59ccd207a90ee60e9@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c

index f486a0042e505ffff64467d96d1bb2e45ac7d4af..290c0710f24dcee49bac92b8dc4422c43a8c3430 100644 (file)
@@ -7779,6 +7779,7 @@ enum {
        ALC256_FIXUP_CHROME_BOOK,
        ALC245_FIXUP_CLEVO_NOISY_MIC,
        ALC269_FIXUP_VAIO_VJFH52_MIC_NO_PRESENCE,
+       ALC233_FIXUP_MEDION_MTL_SPK,
 };
 
 /* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -10080,6 +10081,13 @@ static const struct hda_fixup alc269_fixups[] = {
                .chained = true,
                .chain_id = ALC269_FIXUP_LIMIT_INT_MIC_BOOST
        },
+       [ALC233_FIXUP_MEDION_MTL_SPK] = {
+               .type = HDA_FIXUP_PINS,
+               .v.pins = (const struct hda_pintbl[]) {
+                       { 0x1b, 0x90170110 },
+                       { }
+               },
+       },
 };
 
 static const struct hda_quirk alc269_fixup_tbl[] = {
@@ -10952,6 +10960,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
        SND_PCI_QUIRK(0x2782, 0x0232, "CHUWI CoreBook XPro", ALC269VB_FIXUP_CHUWI_COREBOOK_XPRO),
        SND_PCI_QUIRK(0x2782, 0x1701, "Infinix Y4 Max", ALC269VC_FIXUP_INFINIX_Y4_MAX),
        SND_PCI_QUIRK(0x2782, 0x1707, "Vaio VJFE-ADL", ALC298_FIXUP_SPK_VOLUME),
+       SND_PCI_QUIRK(0x2782, 0x4900, "MEDION E15443", ALC233_FIXUP_MEDION_MTL_SPK),
        SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
        SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
        SND_PCI_QUIRK(0x8086, 0x2081, "Intel NUC 10", ALC256_FIXUP_INTEL_NUC10),