]> www.infradead.org Git - users/hch/misc.git/commitdiff
ASoC: Intel: sof_sdw: Fix DMI match for Lenovo 83LC
authorSimon Trimmer <simont@opensource.cirrus.com>
Thu, 2 Jan 2025 12:33:34 +0000 (20:33 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 15 Jan 2025 14:19:27 +0000 (14:19 +0000)
Update the DMI match for a Lenovo laptop to the new DMI identifier.

This laptop ships with a different DMI identifier to what was expected,
and also has the DMICs connected to the host rather than the cs42l43
codec.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Fixes: 83c062ae81e8 ("ASoC: Intel: sof_sdw: Add quirks for some new Lenovo laptops")
Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20250102123335.256698-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c

index c9f9c9b0de9b64e3bf4a3b46071d545b613ff679..38574553c25fa06f6396b84a8e0141dfc836161a 100644 (file)
@@ -616,9 +616,9 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                .callback = sof_sdw_quirk_cb,
                .matches = {
                        DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
-                       DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "3832")
+                       DMI_MATCH(DMI_PRODUCT_NAME, "83LC")
                },
-               .driver_data = (void *)(SOC_SDW_SIDECAR_AMPS),
+               .driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC),
        },
        {
                .callback = sof_sdw_quirk_cb,