diff options
author | Yuan Mu <ymu@winbond.com.tw> | 2006-06-04 14:18:05 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-22 14:10:34 -0400 |
commit | 53e2761bb2e4ed58913c266ad13e8c10692aec1e (patch) | |
tree | 163840e48c2a50f4a86f2a584cd9a697c065075a /Documentation/floppy.txt | |
parent | 3dc26c600cbae8e8e7566136148aef5667e8342b (diff) |
[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 'Documentation/floppy.txt')
0 files changed, 0 insertions, 0 deletions