Skip to content

Commit ba7d47a

Browse files
rfvirgilbroonie
authored andcommitted
ASoC: Intel: sof_sdw: Fix DMI match for Lenovo 21QA and 21QB
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 now has two identifiers. Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> Fixes: ea657f6 ("ASoC: Intel: sof_sdw: Add quirk for cs42l43 system using host DMICs") Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20241216140821.153670-3-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 7c449ef commit ba7d47a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

sound/soc/intel/boards/sof_sdw.c

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,16 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
632632
.callback = sof_sdw_quirk_cb,
633633
.matches = {
634634
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
635-
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "233C")
635+
DMI_MATCH(DMI_PRODUCT_NAME, "21QB")
636+
},
637+
/* Note this quirk excludes the CODEC mic */
638+
.driver_data = (void *)(SOC_SDW_CODEC_MIC),
639+
},
640+
{
641+
.callback = sof_sdw_quirk_cb,
642+
.matches = {
643+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
644+
DMI_MATCH(DMI_PRODUCT_NAME, "21QA")
636645
},
637646
/* Note this quirk excludes the CODEC mic */
638647
.driver_data = (void *)(SOC_SDW_CODEC_MIC),

0 commit comments

Comments
 (0)