Message ID | 20240325045913.385853-2-snishika@redhat.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | [v2] hwmon: (dell-smm) Add Dell Precision 7540 to fan control whitelist | expand |
On Mon, Mar 25, 2024 at 01:59:13PM +0900, Seiji Nishikawa wrote: > Add Precision 7540 to the fan control whitelist, in addition to 7510. > > Signed-off-by: Seiji Nishikawa <snishika@redhat.com> Applied. Note though that sending a new version of a patch as reply to an older one may easily result in it getting lost, so I'd recommend not to do that. Guenter
On Tue, Mar 26, 2024 at 1:08 AM Guenter Roeck <linux@roeck-us.net> wrote: > > On Mon, Mar 25, 2024 at 01:59:13PM +0900, Seiji Nishikawa wrote: > > Add Precision 7540 to the fan control whitelist, in addition to 7510. > > > > Signed-off-by: Seiji Nishikawa <snishika@redhat.com> > > Applied. Note though that sending a new version of a patch as reply to > an older one may easily result in it getting lost, so I'd recommend not > to do that. Thank you. Noted. I won't do that again.
diff --git a/drivers/hwmon/dell-smm-hwmon.c b/drivers/hwmon/dell-smm-hwmon.c index efcf78673e74..0e12634e83cb 100644 --- a/drivers/hwmon/dell-smm-hwmon.c +++ b/drivers/hwmon/dell-smm-hwmon.c @@ -1506,6 +1506,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 Precision 7540", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."), + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "Precision 7540"), + }, + .driver_data = (void *)&i8k_fan_control_data[I8K_FAN_34A3_35A3], + }, { .ident = "Dell XPS 13 7390", .matches = {
Add Precision 7540 to the fan control whitelist, in addition to 7510. Signed-off-by: Seiji Nishikawa <snishika@redhat.com> --- drivers/hwmon/dell-smm-hwmon.c | 8 ++++++++ 1 file changed, 8 insertions(+)