Skip to content

Commit 001a3d5

Browse files
committed
ASoC: Intel: sof_sdw: Update DMI matches for Lenovo
Merge series from Bard Liao <yung-chuan.liao@linux.intel.com>: The DMI match information for these models has changed so the match entries need updates.
2 parents 6f4a0fd + ba7d47a commit 001a3d5

File tree

1 file changed

+20
-3
lines changed

1 file changed

+20
-3
lines changed

sound/soc/intel/boards/sof_sdw.c

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ 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")
636636
},
637637
/* Note this quirk excludes the CODEC mic */
638638
.driver_data = (void *)(SOC_SDW_CODEC_MIC),
@@ -641,9 +641,26 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
641641
.callback = sof_sdw_quirk_cb,
642642
.matches = {
643643
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
644-
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "233B")
644+
DMI_MATCH(DMI_PRODUCT_NAME, "21QA")
645645
},
646-
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS),
646+
/* Note this quirk excludes the CODEC mic */
647+
.driver_data = (void *)(SOC_SDW_CODEC_MIC),
648+
},
649+
{
650+
.callback = sof_sdw_quirk_cb,
651+
.matches = {
652+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
653+
DMI_MATCH(DMI_PRODUCT_NAME, "21Q6")
654+
},
655+
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC),
656+
},
657+
{
658+
.callback = sof_sdw_quirk_cb,
659+
.matches = {
660+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
661+
DMI_MATCH(DMI_PRODUCT_NAME, "21Q7")
662+
},
663+
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC),
647664
},
648665

649666
/* ArrowLake devices */

0 commit comments

Comments
 (0)