Unverified Commit 7662f0e5 authored by Simon Trimmer's avatar Simon Trimmer Committed by Mark Brown
Browse files

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: default avatarSimon Trimmer <simont@opensource.cirrus.com>
Reviewed-by: default avatarLiam Girdwood <liam.r.girdwood@intel.com>
Signed-off-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20241206075903.195730-5-yung-chuan.liao@linux.intel.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 41f91a88
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -626,9 +626,10 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
		.callback = sof_sdw_quirk_cb,
		.matches = {
			DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
			DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "380E")
			DMI_MATCH(DMI_PRODUCT_NAME, "83HM")
		},
		.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS),
		.driver_data = (void *)(SOC_SDW_SIDECAR_AMPS |
					SOC_SDW_CODEC_MIC),
	},
	{
		.callback = sof_sdw_quirk_cb,