Skip to contentSkip to conversation

Patch "hwmon: (nct7904) Rename pwm attributes to match hwmon ABI" has been added to the 4.1-stable tree

PATCH [email protected] 1 participant 1 message Aug 8, 2015

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

hwmon: (nct7904) Rename pwm attributes to match hwmon ABI

to the 4.1-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
hwmon-nct7904-rename-pwm-attributes-to-match-hwmon-abi.patch
and it can be found in the queue-4.1 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 0d6aaffc3a6db642e0a165ba4d17d6d7bbaf5201 Mon Sep 17 00:00:00 2001

From: Guenter Roeck <[email protected]>
Date: Mon, 27 Jul 2015 10:21:46 -0700
Subject: hwmon: (nct7904) Rename pwm attributes to match hwmon ABI

From: Guenter Roeck <[email protected]>

commit 0d6aaffc3a6db642e0a165ba4d17d6d7bbaf5201 upstream.

pwm attributes have well defined names, which should be used.

---
 Documentation/hwmon/nct7904 |    4 +--
 drivers/hwmon/nct7904.c     |   57 ++++++++++++++++++++++----------------------
 2 files changed, 31 insertions(+), 30 deletions(-)
Documentation/hwmon/nct7904 +2 -2
@@ -35,11 +35,11 @@ temp1_input		Local temperature (1/1000 d
 temp[2-9]_input		CPU temperatures (1/1000 degree,
 			0.125 degree resolution)
 
-fan[1-4]_mode		R/W, 0/1 for manual or SmartFan mode
+pwm[1-4]_enable		R/W, 1/2 for manual or SmartFan mode
 			Setting SmartFan mode is supported only if it has been
 			previously configured by BIOS (or configuration EEPROM)
 
-fan[1-4]_pwm		R/O in SmartFan mode, R/W in manual control mode
+pwm[1-4]		R/O in SmartFan mode, R/W in manual control mode
 
 The driver checks sensor control registers and does not export the sensors
 that are not enabled. Anyway, a sensor that is enabled may actually be not
drivers/hwmon/nct7904.c +29 -28

91 lines not on this page · raw message

Patches currently in stable-queue which might be from [email protected] are

queue-4.1/hwmon-nct7904-rename-pwm-attributes-to-match-hwmon-abi.patch queue-4.1/hwmon-nct7802-fix-integer-overflow-seen-when-writing-voltage-limits.patch