]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (f75375s) Fix writes to the pwm* attribute for the F75387
authorNikolaus Schulz <mail@microschulz.de>
Tue, 28 Feb 2012 21:15:51 +0000 (22:15 +0100)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 28 Feb 2012 22:39:47 +0000 (14:39 -0800)
commitfb59c78c1703287a60ffc002814e56366831c748
treea36b477d0aeae0d8ebc74439ffa113df35340c3a
parent8b81a98ee00a38456458c7ea6e1f1d8170ce95b8
hwmon: (f75375s) Fix writes to the pwm* attribute for the F75387

For the F75387, the register holding the current PWM duty cycle value is
r/o; changing it requires writing to the fan expect register instead.

Signed-off-by: Nikolaus Schulz <mail@microschulz.de>
[guenter.roeck@ericsson.com: Simplified function parameters]
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/f75375s.c