summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSimon Trimmer <simont@opensource.cirrus.com>2024-12-06 15:58:57 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-02-17 10:04:54 +0100
commit0f76d831070c7247317bb9986260705e990d4edc (patch)
tree855b374965c778ec5228dd0199d855e0eb982973 /sound
parent06a0e2a320a5ac8bed253ab36ee2077ae2040dae (diff)
downloadlinux-0f76d831070c7247317bb9986260705e990d4edc.tar.gz
linux-0f76d831070c7247317bb9986260705e990d4edc.tar.bz2
linux-0f76d831070c7247317bb9986260705e990d4edc.zip
ASoC: Intel: sof_sdw: Correct quirk for Lenovo Yoga Slim 7
[ Upstream commit 7662f0e5d55728a009229112ec820e963ed0e21c ] 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> 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/20241206075903.195730-5-yung-chuan.liao@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/intel/boards/sof_sdw.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c
index 9f2dc24d44cb..84fc35d88b92 100644
--- a/sound/soc/intel/boards/sof_sdw.c
+++ b/sound/soc/intel/boards/sof_sdw.c
@@ -617,9 +617,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,