mbox series

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

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

Message

Armin Wolf Sept. 26, 2021, 10:10 p.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 v3:
- improve fanX_min/_max/_target detection logic

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         | 63 ++++++++++++++++++++++----
 2 files changed, 58 insertions(+), 8 deletions(-)

--
2.20.1