]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon: (it87) Fix PWM frequency display for chips with newer PWM control
authorGuenter Roeck <linux@roeck-us.net>
Fri, 27 Mar 2015 03:01:24 +0000 (20:01 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 5 Apr 2015 13:00:42 +0000 (06:00 -0700)
commitf56c9c0aa66034b0de4f6fdeb0d41d38cdbb6dc1
tree4a798aa16bc89938aa684edab0f9b8b6372c95b4
parent1696d1deb05710f246f62e810034fb5d8d7713bd
hwmon: (it87) Fix PWM frequency display for chips with newer PWM control

On chips with newer PWM control, the PWM frequency divider is 256
instead of 128. Since the base PWM frequency remained the same, the actual
PWM frequency is half of what it used to be with the older PWM control
mechanism.

Reviewed-by: Jean Delvare <jdelvare@suse.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c