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)
commitf1bbe618604a4aa833a4af0b1ecdfb47a25455c6
treed09f10fc0e7c6dd7b6bdf43a329dbedfaf2003d2
parentc962024e306ed598600853854a067b521bf5b530
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