]> www.infradead.org Git - users/dwmw2/linux.git/commit
platform/x86: x86-android-tablets: Make Lenovo Yoga Tab 3 X90F DMI match less strict
authorHans de Goede <hdegoede@redhat.com>
Sun, 25 Aug 2024 13:24:15 +0000 (15:24 +0200)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 26 Aug 2024 11:34:33 +0000 (14:34 +0300)
commita3379eca24a7da5118a7d090da6f8eb8611acac8
tree91f0a5cda7a4a4b8c78c09b9b191a04e0ac55d9c
parent9286dfd5735b9cceb6a14bdf15e13400ccb60fe7
platform/x86: x86-android-tablets: 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>
Link: https://lore.kernel.org/r/20240825132415.8307-1-hdegoede@redhat.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/x86-android-tablets/dmi.c