hwmon: (oxp-sensors) Add new DMI match for OXP Mini
authorJoaquín Ignacio Aramendía <samsagax@gmail.com>
Wed, 17 May 2023 18:35:41 +0000 (15:35 -0300)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 8 Jun 2023 13:41:18 +0000 (06:41 -0700)
A newer BIOS version for the OneXPlayer Mini AMD modified vendor and
board name strings. Add those to the match table and set the same board
model as older OXP Mini AMD.

Signed-off-by: Joaquín Ignacio Aramendía <samsagax@gmail.com>
Link: https://lore.kernel.org/r/20230517183540.187383-1-samsagax@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/oxp-sensors.c

index 4d09a63af64af808fa2a927bcc176520c5e51970..a4ee757f879f9d9ef1ddf49bfa8efd7d06704faa 100644 (file)
@@ -99,6 +99,13 @@ static const struct dmi_system_id dmi_table[] = {
                },
                .driver_data = (void *)oxp_mini_amd,
        },
+       {
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),
+                       DMI_EXACT_MATCH(DMI_BOARD_NAME, "ONEXPLAYER mini A07"),
+               },
+               .driver_data = (void *)oxp_mini_amd,
+       },
        {
                .matches = {
                        DMI_MATCH(DMI_BOARD_VENDOR, "ONE-NETBOOK"),