Skip to content

Commit 75a7f7d

Browse files
committed
ASoC: Intel: sof_sdw: Fix DMI match entries for a
Merge series from Bard Liao <[email protected]>: Those laptops use host DMIC. Correct the DMI match entries.
2 parents 04e97fa + 17615e4 commit 75a7f7d

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

sound/soc/intel/boards/sof_sdw.c

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -608,17 +608,32 @@ 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, "3838")
611+
DMI_MATCH(DMI_PRODUCT_NAME, "83JX")
612612
},
613-
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS),
613+
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC),
614614
},
615615
{
616616
.callback = sof_sdw_quirk_cb,
617617
.matches = {
618618
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
619-
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "3832")
619+
DMI_MATCH(DMI_PRODUCT_NAME, "83LC")
620620
},
621-
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS),
621+
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC),
622+
},
623+
{
624+
.callback = sof_sdw_quirk_cb,
625+
.matches = {
626+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
627+
DMI_MATCH(DMI_PRODUCT_NAME, "83MC")
628+
},
629+
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC),
630+
}, {
631+
.callback = sof_sdw_quirk_cb,
632+
.matches = {
633+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
634+
DMI_MATCH(DMI_PRODUCT_NAME, "83NM")
635+
},
636+
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC),
622637
},
623638
{
624639
.callback = sof_sdw_quirk_cb,

0 commit comments

Comments
 (0)