]> www.infradead.org Git - users/hch/misc.git/commitdiff
ASoC: amd: amd_sdw: Add quirks for some new Dell laptops
authorSyed Saba Kareem <syed.sabakareem@amd.com>
Wed, 3 Sep 2025 17:17:47 +0000 (22:47 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 3 Sep 2025 17:35:28 +0000 (18:35 +0100)
Add a quirk to include the codec amplifier function
for Dell SKU's listed in quirk table.
Note: In these SKU's, the RT722 codec amplifier is excluded,
and an external amplifier is used instead.

Signed-off-by: Syed Saba Kareem <syed.sabakareem@amd.com>
Message-ID: <20250903171817.2549507-1-syed.sabakareem@amd.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-sdw-legacy-mach.c

index c2197b75a7dd8c5537b2a91fb3475f5374eb7e76..5a3cfedacbafd43c9ca2da077060968a1f504992 100644 (file)
@@ -79,6 +79,22 @@ static const struct dmi_system_id soc_sdw_quirk_table[] = {
                },
                .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
        },
+       {
+               .callback = soc_sdw_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0DD3"),
+               },
+               .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
+       },
+       {
+               .callback = soc_sdw_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0DD4"),
+               },
+               .driver_data = (void *)(ASOC_SDW_CODEC_SPKR),
+       },
        {}
 };