Skip to content

Commit 16258a1

Browse files
rfvirgilgregkh
authored andcommitted
ASoC: Intel: sof_sdw: Fix DMI match for Lenovo 21Q6 and 21Q7
commit 7c449ef 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: 83c062a ("ASoC: Intel: sof_sdw: Add quirks for some new Lenovo laptops") 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 3b0f5d3 commit 16258a1

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

sound/soc/intel/boards/sof_sdw.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,9 +626,17 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
626626
.callback = sof_sdw_quirk_cb,
627627
.matches = {
628628
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
629-
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "233B")
629+
DMI_MATCH(DMI_PRODUCT_NAME, "21Q6")
630630
},
631-
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS),
631+
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC),
632+
},
633+
{
634+
.callback = sof_sdw_quirk_cb,
635+
.matches = {
636+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
637+
DMI_MATCH(DMI_PRODUCT_NAME, "21Q7")
638+
},
639+
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC),
632640
},
633641

634642
/* ArrowLake devices */

0 commit comments

Comments
 (0)