Skip to content

Commit f4d68bd

Browse files
rfvirgilgregkh
authored andcommitted
ASoC: Intel: sof_sdw: Fix DMI match for Lenovo 21QA and 21QB
commit ba7d47a upstream. 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 <[email protected]> Fixes: ea657f6 ("ASoC: Intel: sof_sdw: Add quirk for cs42l43 system using host DMICs") Signed-off-by: Bard Liao <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 7a51e3a commit f4d68bd

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
@@ -608,7 +608,16 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
608608
.callback = sof_sdw_quirk_cb,
609609
.matches = {
610610
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
611-
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "233C")
611+
DMI_MATCH(DMI_PRODUCT_NAME, "21QB")
612+
},
613+
/* Note this quirk excludes the CODEC mic */
614+
.driver_data = (void *)(SOC_SDW_CODEC_MIC),
615+
},
616+
{
617+
.callback = sof_sdw_quirk_cb,
618+
.matches = {
619+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
620+
DMI_MATCH(DMI_PRODUCT_NAME, "21QA")
612621
},
613622
/* Note this quirk excludes the CODEC mic */
614623
.driver_data = (void *)(SOC_SDW_CODEC_MIC),

0 commit comments

Comments
 (0)