]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
ASoC: Intel: sof_sdw: fix jack detection on ADL-N variant RVP
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Mon, 24 Jun 2024 12:11:16 +0000 (14:11 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jun 2024 12:40:06 +0000 (13:40 +0100)
Experimental tests show that JD2_100K is required, otherwise the jack
is detected always even with nothing plugged-in.

To avoid matching with other known quirks the SKU information is used.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://patch.msgid.link/20240624121119.91552-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/sof_sdw.c

index b646b32dd311941ae00c0612ccf8f6263d8b669d..89b92a061489de5346106a079e7fcaa96651b36f 100644 (file)
@@ -277,6 +277,15 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                                        SOF_BT_OFFLOAD_SSP(2) |
                                        SOF_SSP_BT_OFFLOAD_PRESENT),
        },
+       {
+               .callback = sof_sdw_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "Intel Corporation"),
+                       DMI_MATCH(DMI_PRODUCT_SKU, "0000000000070000"),
+               },
+               .driver_data = (void *)(SOF_SDW_TGL_HDMI |
+                                       RT711_JD2_100K),
+       },
        {
                .callback = sof_sdw_quirk_cb,
                .matches = {