]> git.baikalelectronics.ru Git - kernel.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)
commit882e6b6bb30f337e1dea23541f0a8f00a0cfde8c
tree4a798aa16bc89938aa684edab0f9b8b6372c95b4
parentbe20b31323b451521d3c56fbdfaa5d0c8f9c4d5c
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