]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (it87) Support disabling fan control for all pwm control and chips
authorGuenter Roeck <linux@roeck-us.net>
Sun, 5 Apr 2015 20:16:54 +0000 (13:16 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 19 Apr 2016 13:32:37 +0000 (06:32 -0700)
commitf488301991d87d042e2c23c0d55352928935ca58
treed09f10fc0e7c6dd7b6bdf43a329dbedfaf2003d2
parent72a05851d2e2c49b40853c709bdc68cc2dff8c17
hwmon: (it87) Support disabling fan control for all pwm control and chips

On/Off mode is only supported for pwm controls 0-2, and not supported at all for
IT8603E/IT8623E. For pwm controls 3-6 and for IT8603E/IT8623E, SmartGuardian mode
is always enabled. Use it and set the pwm value to the maximum if fan control
is disabled.

Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c