From: Pierre-Louis Bossart Date: Mon, 24 Jun 2024 12:11:18 +0000 (+0200) Subject: ASoC: Intel: sof_sdw: add quirk for Dell SKU 0B8C X-Git-Tag: v6.11-rc1~108^2~6^2~75^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=92d5b5930e7d55ca07b483490d6298eee828bbe4;p=thirdparty%2Fkernel%2Flinux.git ASoC: Intel: sof_sdw: add quirk for Dell SKU 0B8C Jack detection needs to rely on JD2, as most other Dell AlderLake-based devices. Closes: https://github.com/thesofproject/linux/issues/5021 Signed-off-by: Pierre-Louis Bossart Reviewed-by: Péter Ujfalusi Reviewed-by: Bard Liao Link: https://patch.msgid.link/20240624121119.91552-4-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/intel/boards/sof_sdw.c b/sound/soc/intel/boards/sof_sdw.c index 89b92a061489d..e94849b84a6b4 100644 --- a/sound/soc/intel/boards/sof_sdw.c +++ b/sound/soc/intel/boards/sof_sdw.c @@ -406,6 +406,15 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = { /* No Jack */ .driver_data = (void *)SOF_SDW_TGL_HDMI, }, + { + .callback = sof_sdw_quirk_cb, + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc"), + DMI_EXACT_MATCH(DMI_PRODUCT_SKU, "0B8C"), + }, + .driver_data = (void *)(SOF_SDW_TGL_HDMI | + RT711_JD2), + }, { .callback = sof_sdw_quirk_cb, .matches = {