projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23fd63a
)
hwmon: (dell-smm) Add Latitude 5480 to fan control whitelist
author
Jeffrey Lin
<jeffrey@icurse.nl>
Sun, 21 Jun 2020 04:52:48 +0000
(
00:52
-0400)
committer
Guenter Roeck
<linux@roeck-us.net>
Sun, 19 Jul 2020 23:25:20 +0000
(16:25 -0700)
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>
drivers/hwmon/dell-smm-hwmon.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/dell-smm-hwmon.c
b/drivers/hwmon/dell-smm-hwmon.c
index
16be012
..
ec448f5
100644
(file)
--- a/
drivers/hwmon/dell-smm-hwmon.c
+++ b/
drivers/hwmon/dell-smm-hwmon.c
@@
-1188,6
+1188,14
@@
static struct dmi_system_id i8k_whitelist_fan_control[] __initdata = {
.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
},
{
+ .ident = "Dell Latitude 5480",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Latitude 5480"),
+ },
+ .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+ },
+ {
.ident = "Dell Latitude E6440",
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),