Message ID | 20241216033200.131362-2-yung-chuan.liao@linux.intel.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | ASoC: Intel: sof_sdw: Update DMI matches for Lenovo models with SSIDs 233b, 233c | expand |
On Mon, Dec 16, 2024 at 11:31:58AM +0800, Bard Liao wrote: > Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com> > Fixes: 5899601ac143 ("ASoC: Intel: sof_sdw: Add quirks for some new Lenovo laptops") > Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> This commit doesn't seem to exist.
diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index 53410fb44673..139f4306dc87 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -646,9 +646,17 @@ 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, "233B") + DMI_MATCH(DMI_PRODUCT_NAME, "21Q6") }, - .driver_data = (void *)(SOC_SDW_SIDECAR_AMPS), + .driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC), + }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "21Q7") + }, + .driver_data = (void *)(SOC_SDW_SIDECAR_AMPS | SOC_SDW_CODEC_MIC), }, /* ArrowLake devices */