commit | 20005cc58da50035c9b64572d4091c184dfa24c0 | [log] [tgz] |
---|---|---|
author | Mike Looijmans <mike.looijmans@topic.nl> | Wed Aug 24 10:13:26 2016 +0200 |
committer | Guenter Roeck <linux@roeck-us.net> | Thu Sep 08 21:34:17 2016 -0700 |
tree | ae69f66cecd7eadf155e10db8091e636d7bf80e9 | |
parent | a6cdeefeca47b834109bb13941c699be92c4ff97 [diff] |
hwmon: (max6650) Allow fan shutdown and initial rpm target The fan can be stopped by writing "3" to pwm1_enable in sysfs. Add devicetree property for early initialization of the fan controller to prevent overheating, for example when resetting the board while the fan was completely turned off. Also improve error reporting, I2C failures were ignored while writing new values. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Guenter Roeck <linux@roeck-us.net>