]> 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)
commitd4e18471ea8eb918d01f57f9f566c9cfd4e5e3d1
treea36b477d0aeae0d8ebc74439ffa113df35340c3a
parent5500df547ae74dc44ce24c6cbd2cb2d777795f4b
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