Patch "hwmon: (max31790) Set correct PWM value" has been added to the 4.9-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
hwmon: (max31790) Set correct PWM value
to the 4.9-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-max31790-set-correct-pwm-value.patch
and it can be found in the queue-4.9 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 foo@baz Thu Dec 21 09:02:40 CET 2017
From: Alex Hemme <[email protected]>
Date: Tue, 7 Mar 2017 14:38:29 -0500
Subject: hwmon: (max31790) Set correct PWM value
From: Alex Hemme <[email protected]>
[ Upstream commit dd7406dd334a98ada3ff5371847a3eeb4ba16313 ]
Traced fans not spinning to incorrect PWM value being written. The passed in value was written instead of the calulated value.
--- drivers/hwmon/max31790.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/max31790.c +1 -1
@@ -311,7 +311,7 @@ static int max31790_write_pwm(struct dev data->pwm[channel] = val <<8 ; err =i2c_smbus_write_word_swapped (client,MAX31790_REG_PWMOUT (channel), - val); + data->pwm[channel]);break ;case hwmon_pwm_enable: fan_config = data->fan_config[channel];
Patches currently in stable-queue which might be from [email protected] are
queue-4.9/hwmon-max31790-set-correct-pwm-value.patch