]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
hwmon: (dell-smm) Add Dell Latitude 7320 to fan control whitelist
authorArmin Wolf <W_Armin@gmx.de>
Fri, 19 Jul 2024 20:37:06 +0000 (22:37 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 31 Jul 2024 17:43:52 +0000 (10:43 -0700)
Add the Dell Latitude 7320 to the fan control whitelist to allow
for manual fan control.

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

index 0362a13f6525547896a9f70926118a9bbbf72b37..f9b3a3030f133e7a7236d2f83a6057f44bc92199 100644 (file)
@@ -1488,6 +1488,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 Latitude 7320",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Latitude 7320"),
+               },
+               .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
+       },
        {
                .ident = "Dell Latitude E6440",
                .matches = {