]> git.dujemihanovic.xyz Git - linux.git/commit
mfd: intel_soc_pmic_chtwc: Make Lenovo Yoga Tab 3 X90F DMI match less strict
authorHans de Goede <hdegoede@redhat.com>
Sun, 25 Aug 2024 13:26:17 +0000 (15:26 +0200)
committerLee Jones <lee@kernel.org>
Mon, 23 Sep 2024 15:20:54 +0000 (16:20 +0100)
commitae7eee56cdcfcb6a886f76232778d6517fd58690
tree3666f59aa87e0bc78759d9b22b18538faa204bca
parentfd0fec405dbdf5750b863c2c143054dc1eaa60a0
mfd: intel_soc_pmic_chtwc: Make Lenovo Yoga Tab 3 X90F DMI match less strict

There are 2G and 4G RAM versions of the Lenovo Yoga Tab 3 X90F and it
turns out that the 2G version has a DMI product name of
"CHERRYVIEW D1 PLATFORM" where as the 4G version has
"CHERRYVIEW C0 PLATFORM". The sys-vendor + product-version check are
unique enough that the product-name check is not necessary.

Drop the product-name check so that the existing DMI match for the 4G
RAM version also matches the 2G RAM version.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20240825132617.8809-1-hdegoede@redhat.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/intel_soc_pmic_chtwc.c