ASoC: Intel: sof_sdw: add quirk for MTL RVP
authorBard Liao <yung-chuan.liao@linux.intel.com>
Fri, 12 May 2023 17:33:00 +0000 (12:33 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 15 May 2023 11:11:55 +0000 (20:11 +0900)
We should use RT711_JD2_100K for on board rt711.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com
Link: https://lore.kernel.org/r/20230512173305.65399-4-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org
sound/soc/intel/boards/sof_sdw.c

index 5ab1df4..0841e28 100644 (file)
@@ -415,6 +415,14 @@ static const struct dmi_system_id sof_sdw_quirk_table[] = {
                },
                .driver_data = (void *)(RT711_JD1),
        },
+       {
+               .callback = sof_sdw_quirk_cb,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Meteor Lake Client Platform"),
+               },
+               .driver_data = (void *)(RT711_JD2_100K),
+       },
        {}
 };