hwmon: (dell-smm) Add Dell Precision 7540 to fan control whitelist
authorSeiji Nishikawa <snishika@redhat.com>
Mon, 25 Mar 2024 04:59:13 +0000 (13:59 +0900)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 28 Apr 2024 17:08:19 +0000 (10:08 -0700)
Add Precision 7540 to the fan control whitelist, in addition to 7510.

Signed-off-by: Seiji Nishikawa <snishika@redhat.com>
Link: https://lore.kernel.org/r/20240325045913.385853-2-snishika@redhat.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c

index cefa2a0545253da0a30a52e4b0f4c59c0c49f34b..48a81c64f00d2535d84dd15aca6c081e2f275207 100644 (file)
@@ -1513,6 +1513,14 @@ static const struct dmi_system_id i8k_whitelist_fan_control[] __initconst = {
                },
                .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
        },
+       {
+               .ident = "Dell Precision 7540",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Precision 7540"),
+               },
+               .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+       },
        {
                .ident = "Dell XPS 13 7390",
                .matches = {