ASoC: codecs: rt298: Add quirk for KBL-R RVP platform
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Mon, 10 Oct 2022 12:19:43 +0000 (14:19 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 17 Oct 2022 11:50:06 +0000 (12:50 +0100)
KBL-R RVP platforms also use combojack, so we need to enable that
configuration for them.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221010121955.718168-4-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt298.c

index a2ce52d..cea26f3 100644 (file)
@@ -1166,6 +1166,13 @@ static const struct dmi_system_id force_combo_jack_table[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Geminilake")
                }
        },
+       {
+               .ident = "Intel Kabylake R RVP",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Kabylake Client platform")
+               }
+       },
        { }
 };