ALSA: hda: cs35l41: Overwrite CS35L41 configuration for ASUS UM5302LA
authorStefan Binding <sbinding@opensource.cirrus.com>
Fri, 1 Mar 2024 16:01:54 +0000 (16:01 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Mar 2024 08:12:41 +0000 (09:12 +0100)
Whilst this laptop contains _DSD inside the BIOS, there is an error in
this configuration. Override the _DSD in the BIOS with the correct
configuration for this laptop.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20240301160154.158398-4-sbinding@opensource.cirrus.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda_property.c

index 4c3097bc274b80b636986a7df2f3642212515641..e436d4dab317f05c20a8a806f14e07580bfcb2de 100644 (file)
@@ -83,6 +83,7 @@ static const struct cs35l41_config cs35l41_config_table[] = {
        { "104317F3", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
        { "10431863", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
        { "104318D3", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 0, 0, 0 },
+       { "10431A83", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, 1, -1, 1000, 4500, 24 },
        { "10431C9F", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
        { "10431CAF", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
        { "10431CCF", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
@@ -423,6 +424,7 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
        { "CSC3551", "104317F3", generic_dsd_config },
        { "CSC3551", "10431863", generic_dsd_config },
        { "CSC3551", "104318D3", generic_dsd_config },
+       { "CSC3551", "10431A83", generic_dsd_config },
        { "CSC3551", "10431C9F", generic_dsd_config },
        { "CSC3551", "10431CAF", generic_dsd_config },
        { "CSC3551", "10431CCF", generic_dsd_config },