Skip to content

Commit d64cbb5

Browse files
Stefan Bindingtiwai
authored andcommitted
ALSA: hda/realtek: Add support for Acer Helios Laptops using CS35L41 HDA
Laptops use 2 CS35L41 Amps with HDA, using External boost with I2C. Similar to previous Acer laptops, these laptops also need the ALC255_FIXUP_PREDATOR_SUBWOOFER quirk to function properly. Signed-off-by: Stefan Binding <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent a3d14d1 commit d64cbb5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8026,6 +8026,7 @@ enum {
80268026
ALC283_FIXUP_DELL_HP_RESUME,
80278027
ALC294_FIXUP_ASUS_CS35L41_SPI_2,
80288028
ALC274_FIXUP_HP_AIO_BIND_DACS,
8029+
ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2,
80298030
};
80308031

80318032
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -9298,6 +9299,12 @@ static const struct hda_fixup alc269_fixups[] = {
92989299
{ }
92999300
}
93009301
},
9302+
[ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2] = {
9303+
.type = HDA_FIXUP_FUNC,
9304+
.v.func = cs35l41_fixup_i2c_two,
9305+
.chained = true,
9306+
.chain_id = ALC255_FIXUP_PREDATOR_SUBWOOFER
9307+
},
93019308
[ALC256_FIXUP_MEDION_HEADSET_NO_PRESENCE] = {
93029309
.type = HDA_FIXUP_PINS,
93039310
.v.pins = (const struct hda_pintbl[]) {
@@ -10453,6 +10460,9 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
1045310460
SND_PCI_QUIRK(0x1025, 0x1534, "Acer Predator PH315-54", ALC255_FIXUP_ACER_MIC_NO_PRESENCE),
1045410461
SND_PCI_QUIRK(0x1025, 0x159c, "Acer Nitro 5 AN515-58", ALC2XX_FIXUP_HEADSET_MIC),
1045510462
SND_PCI_QUIRK(0x1025, 0x169a, "Acer Swift SFG16", ALC256_FIXUP_ACER_SFG16_MICMUTE_LED),
10463+
SND_PCI_QUIRK(0x1025, 0x1826, "Acer Helios ZPC", ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2),
10464+
SND_PCI_QUIRK(0x1025, 0x182c, "Acer Helios ZPD", ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2),
10465+
SND_PCI_QUIRK(0x1025, 0x1844, "Acer Helios ZPS", ALC287_FIXUP_PREDATOR_SPK_CS35L41_I2C_2),
1045610466
SND_PCI_QUIRK(0x1028, 0x0470, "Dell M101z", ALC269_FIXUP_DELL_M101Z),
1045710467
SND_PCI_QUIRK(0x1028, 0x053c, "Dell Latitude E5430", ALC292_FIXUP_DELL_E7X),
1045810468
SND_PCI_QUIRK(0x1028, 0x054b, "Dell XPS one 2710", ALC275_FIXUP_DELL_XPS),

0 commit comments

Comments
 (0)