mbox series

[v2,0/2] hwmon: (dell-smm) Support additional attributes

Message ID 20210924114505.20416-1-W_Armin@gmx.de (mailing list archive)
Headers show
Series hwmon: (dell-smm) Support additional attributes | expand

Message

Armin Wolf Sept. 24, 2021, 11:45 a.m. UTC
From: Armin Wolf <W_Armin@gmx.de>

This patch series adds support for fanX_min, fanX_max and fanX_target.
A second patch also removes some unnecessary includes.

Both patches where tested on a Dell Inspiron 3505 and
a Dell Latitude C600.

Changes in v2:
- update documentation
- prevent out-of-bounds read/write when module is loaded with
  custom fan_max value

Armin Wolf (2):
  hwmon: (dell-smm) Add support for fanX_min, fanX_max and fanX_target
  hwmon: (dell-smm) Remove unnecessary includes

 Documentation/hwmon/dell-smm-hwmon.rst |  3 ++
 drivers/hwmon/dell-smm-hwmon.c         | 65 ++++++++++++++++++++++----
 2 files changed, 60 insertions(+), 8 deletions(-)

--
2.20.1