Skip to content

Commit e43a93c

Browse files
Stefan Bindingtiwai
authored andcommitted
ALSA: hda: cs35l41: Fix swapped l/r audio channels for Acer Helios laptops
Fixes audio channel assignment from ACPI using configuration table. Signed-off-by: Stefan Binding <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent d64cbb5 commit e43a93c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sound/pci/hda/cs35l41_hda_property.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ struct cs35l41_config {
3131
};
3232

3333
static const struct cs35l41_config cs35l41_config_table[] = {
34+
{ "10251826", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 },
35+
{ "1025182C", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 },
36+
{ "10251844", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 },
3437
{ "10280B27", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
3538
{ "10280B28", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
3639
{ "10280BEB", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 0, 0, 0 },
@@ -452,6 +455,9 @@ struct cs35l41_prop_model {
452455
static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
453456
{ "CLSA0100", NULL, lenovo_legion_no_acpi },
454457
{ "CLSA0101", NULL, lenovo_legion_no_acpi },
458+
{ "CSC3551", "10251826", generic_dsd_config },
459+
{ "CSC3551", "1025182C", generic_dsd_config },
460+
{ "CSC3551", "10251844", generic_dsd_config },
455461
{ "CSC3551", "10280B27", generic_dsd_config },
456462
{ "CSC3551", "10280B28", generic_dsd_config },
457463
{ "CSC3551", "10280BEB", generic_dsd_config },

0 commit comments

Comments
 (0)