Skip to content

Commit 9735501

Browse files
simontrimmerbardliao
authored andcommitted
ASoC: Intel: sof_sdw: Correct quirk for Lenovo Yoga Slim 7
In addition to changing the DMI match to examine the product name rather than the SKU, this adds the quirk to inform the machine driver to not bind in the cs42l43 microphone DAI link. Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
1 parent 5a72ff8 commit 9735501

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sound/soc/intel/boards/sof_sdw.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,10 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
645645
.callback = sof_sdw_quirk_cb,
646646
.matches = {
647647
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
648-
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "380E")
648+
DMI_MATCH(DMI_PRODUCT_NAME, "83HM")
649649
},
650-
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS),
650+
.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS |
651+
SOC_SDW_CODEC_MIC),
651652
},
652653
{
653654
.callback = sof_sdw_quirk_cb,

0 commit comments

Comments
 (0)