Skip to contentSkip to conversation

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

PATCH Applied Sebastian Oechsle 3 participants 3 messages Apr 11, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 hwmon: (dell-smm) Add Dell Latitude E7440 to fan control whitelist

Allow manual PWM control on Dell Latitude E7440.

Changes in v2:
- Fix spelling
- Fix format

---
 drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +8 -0
index 73b9db9e3aab..2970892bed82 100644
@@ -1210,6 +1210,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 E7440",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Latitude E7440"),
+		},
+		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+	},
 	{ }
 };
 
Signature · 1 line
2.31.1
maintainer Reviewed-by on v2 1/1
#1 lore raw
Quoted 3 lines · On Sunday 11 April 2021 11:57:41 Sebastian Oechsle wrote:

Allow manual PWM control on Dell Latitude E7440.

Quoted 30 lines

Changes in v2:
- Fix spelling
- Fix format

---
 drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +8 -0
index 73b9db9e3aab..2970892bed82 100644
@@ -1210,6 +1210,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 E7440",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Latitude E7440"),
+		},
+		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+	},
 	{ }
 };
 
Signature · 1 line
2.31.1
maintainer Applied
#2 lore raw
In reply to Sebastian Oechsle
Quoted 8 lines · Sebastian Oechsle

Allow manual PWM control on Dell Latitude E7440.

Changes in v2:
- Fix spelling
- Fix format
---

Applied, but next time changelog goes here, please (after ---).

Thanks,
Guenter

Quoted 22 lines
 drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++
 1 file changed, 8 insertions(+)
drivers/hwmon/dell-smm-hwmon.c +8 -0
index 73b9db9e3aab..2970892bed82 100644
@@ -1210,6 +1210,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 E7440",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Latitude E7440"),
+		},
+		.driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3],
+	},
 	{ }
 };