ALSA: hda: cs35l41: Support Lenovo 13X laptop without _DSD
authorStefan Binding <sbinding@opensource.cirrus.com>
Tue, 23 Apr 2024 16:23:02 +0000 (17:23 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 24 Apr 2024 07:21:11 +0000 (09:21 +0200)
This laptop does not have the correct _DSD settings, so needs to
obtain its configuration from the configuration table.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Message-ID: <20240423162303.638211-2-sbinding@opensource.cirrus.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/cs35l41_hda_property.c

index 6f82b28e26dde45463160ed07b1d0d9ae13e1298..be97e973accb680fb0624cd67748b2358e5c4101 100644 (file)
@@ -111,6 +111,8 @@ static const struct cs35l41_config cs35l41_config_table[] = {
        { "10431F1F", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, -1, 0, 0, 0, 0 },
        { "10431F62", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 0, 0, 0 },
        { "10433A60", 2, INTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 1, 2, 0, 1000, 4500, 24 },
+       { "17AA3865", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 },
+       { "17AA3866", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 },
        { "17AA386F", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 },
        { "17AA3877", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 },
        { "17AA3878", 2, EXTERNAL, { CS35L41_LEFT, CS35L41_RIGHT, 0, 0 }, 0, -1, -1, 0, 0, 0 },
@@ -504,6 +506,8 @@ static const struct cs35l41_prop_model cs35l41_prop_model_table[] = {
        { "CSC3551", "10431F1F", generic_dsd_config },
        { "CSC3551", "10431F62", generic_dsd_config },
        { "CSC3551", "10433A60", generic_dsd_config },
+       { "CSC3551", "17AA3865", generic_dsd_config },
+       { "CSC3551", "17AA3866", generic_dsd_config },
        { "CSC3551", "17AA386F", generic_dsd_config },
        { "CSC3551", "17AA3877", generic_dsd_config },
        { "CSC3551", "17AA3878", generic_dsd_config },