]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jan 2023 10:41:35 +0000 (11:41 +0100)
[ Upstream commit 24bb8f737093d46d99eae64d39b90bb37315c19c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/rt298.c

index f8c0f977206c1bb35cf157bdb2a179c459f7cd8e..cc7eb34a641d90e52c4293f35a46f0f97a54d097 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")
+               }
+       },
        { }
 };