summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm93.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-02-08 14:07:42 -0800
committerGuenter Roeck <linux@roeck-us.net>2017-02-10 21:35:08 -0800
commit4c7b8ca1ae5ed9e27014732c8a918ba11a86cf09 (patch)
treefa4299c85a4b35bc5700902c071a389d9ab2da32 /drivers/hwmon/lm93.c
parentd66777caa57ffade6061782f3a4d4056f0b0c1ac (diff)
downloadlinux-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/lm93.c')
0 files changed, 0 insertions, 0 deletions