diff options
author | Yuan Mu <ymu@winbond.com.tw> | 2006-06-04 20:18:05 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-22 11:10:34 -0700 |
commit | 53e2761bb2e4ed58913c266ad13e8c10692aec1e (patch) | |
tree | 163840e48c2a50f4a86f2a584cd9a697c065075a /drivers/hwmon/lm83.c | |
parent | 3dc26c600cbae8e8e7566136148aef5667e8342b (diff) | |
download | kernel_samsung_espresso10-53e2761bb2e4ed58913c266ad13e8c10692aec1e.zip kernel_samsung_espresso10-53e2761bb2e4ed58913c266ad13e8c10692aec1e.tar.gz kernel_samsung_espresso10-53e2761bb2e4ed58913c266ad13e8c10692aec1e.tar.bz2 |
[PATCH] w83792d: Fix setting the PWM value
W83792D use pwm register low 4 bits to store PWM/DC value, bit 7
is used to store fan PWM/DC mode. The store_pwm function did not
convert the pwm input correctly, so it may change the fan mode
when new value is set.
This fix the problem. Change the "index" value of pwm*_mode
and pwm* SENSOR_ATTR to simplify code.
Signed-off-by: Yuan Mu <ymu@winbond.com.tw>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/hwmon/lm83.c')
0 files changed, 0 insertions, 0 deletions