]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
hwmon: (dell-smm) Add Dell XPS 9370 to fan control whitelist
authorPovilas Kanapickas <povilas@radix.lt>
Thu, 9 Jan 2025 21:07:00 +0000 (23:07 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 9 Jan 2025 23:44:31 +0000 (15:44 -0800)
Add the Dell XPS 9370 to the fan control whitelist to allow
for manual fan control.

Signed-off-by: Povilas Kanapickas <povilas@radix.lt>
Reviewed-by: Armin Wolf <W_Armin@gmx.de>
Acked-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/6e6b7a47-d0e3-4c5a-8be2-dfc58852da8e@radix.lt
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/dell-smm-hwmon.c

index f5bdf842040e6c4bde367e72339edd18a09e78f7..cd00adaad1b414693b9edd98dc202866d684ecd0 100644 (file)
@@ -1544,6 +1544,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 XPS 13 9370",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+                       DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 13 9370"),
+               },
+               .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_30A3_31A3],
+       },
        {
                .ident = "Dell Optiplex 7000",
                .matches = {