Skip to content

Commit ea657f6

Browse files
charleskeepaxbroonie
authored andcommitted
ASoC: Intel: sof_sdw: Add quirk for cs42l43 system using host DMICs
Add quirk to inform the machine driver to not bind in the cs42l43 microphone DAI link. Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com> Reviewed-by: Liam Girdwood <liam.r.girdwood@intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://patch.msgid.link/20241016030344.13535-4-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent a6f7afb commit ea657f6

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sound/soc/intel/boards/sof_sdw.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,15 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
580580
},
581581
.driver_data = (void *)(SOC_SDW_CODEC_SPKR),
582582
},
583+
{
584+
.callback = sof_sdw_quirk_cb,
585+
.matches = {
586+
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
587+
DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "233C")
588+
},
589+
/* Note this quirk excludes the CODEC mic */
590+
.driver_data = (void *)(SOC_SDW_CODEC_MIC),
591+
},
583592

584593
/* ArrowLake devices */
585594
{

0 commit comments

Comments
 (0)