diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-02-08 14:07:42 -0800 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2017-02-10 21:35:08 -0800 |
commit | 4c7b8ca1ae5ed9e27014732c8a918ba11a86cf09 (patch) | |
tree | fa4299c85a4b35bc5700902c071a389d9ab2da32 /drivers/hwmon/stts751.c | |
parent | d66777caa57ffade6061782f3a4d4056f0b0c1ac (diff) | |
download | linux-4c7b8ca1ae5ed9e27014732c8a918ba11a86cf09.tar.bz2 |
hwmon: (it87) Do not overwrite bit 2..6 of pwm control registers
In IT8620E, after setting pwm control to manual, it was observed that
pwm values for fan 4..6 have reversed results (writing 0 results in fans
running at full speed, writing 255 results in fans turned off).
With the new PWM control, pwm polarity for pwm control 4..6 is specified
in its pwm control registers. Those registers are overwritten when setting
the pwm mode or the temperature mapping. Do not touch bit 2..6 of pwm
control registers on register writes to fix the problem.
Cc: stable@vger.kernel.org # 4.9+
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/stts751.c')
0 files changed, 0 insertions, 0 deletions