Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (dell-smm) Add Latitude 5480 to fan control whitelist

This allows manual PWM control without the BIOS fighting back on Dell
Latitude 5480.

Signed-off-by: Jeffrey Lin <jeffrey@icurse.nl>
Acked-by: Pali Rohár <pali@kernel.org>
Link: https://lore.kernel.org/r/20200621045246.929649-1-jeffrey@icurse.nl
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

authored by

Jeffrey Lin and committed by
Guenter Roeck
0ca8bb2c 23fd63a4

+8
+8
drivers/hwmon/dell-smm-hwmon.c
··· 1188 1188 .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3], 1189 1189 }, 1190 1190 { 1191 + .ident = "Dell Latitude 5480", 1192 + .matches = { 1193 + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), 1194 + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Latitude 5480"), 1195 + }, 1196 + .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3], 1197 + }, 1198 + { 1191 1199 .ident = "Dell Latitude E6440", 1192 1200 .matches = { 1193 1201 DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),