]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
hwmon: (dell-smm) Add the Dell OptiPlex 7050 to the DMI whitelist
authorArmin Wolf <W_Armin@gmx.de>
Sun, 20 Apr 2025 22:33:34 +0000 (00:33 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 23 Apr 2025 14:18:27 +0000 (07:18 -0700)
A user reported that the driver works on the OptiPlex 7050. Add this
machine to the DMI whitelist.

Closes: https://github.com/Wer-Wolf/i8kutils/issues/12
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Acked-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20250420223334.12920-1-W_Armin@gmx.de
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c

index 79e5606e6d2f8f4353da0693cf1039a8b86cabe2..1e2c8e2840015ab07c10375f76aa369cc8116042 100644 (file)
@@ -1273,6 +1273,13 @@ static const struct dmi_system_id i8k_dmi_table[] __initconst = {
                        DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7060"),
                },
        },
+       {
+               .ident = "Dell OptiPlex 7050",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "OptiPlex 7050"),
+               },
+       },
        {
                .ident = "Dell Precision",
                .matches = {