]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (w83795) Fix fan control mode attributes
authorJean Delvare <khali@linux-fr.org>
Mon, 15 Nov 2010 20:38:56 +0000 (21:38 +0100)
committerJean Delvare <khali@endymion.delvare>
Mon, 15 Nov 2010 20:38:56 +0000 (21:38 +0100)
commitae51cd9bcd9ca841bf45c0ba33823c56ac1ce81e
treebf08d6bc425c43cce063ecdb2e3e76bb776b1618
parent61ec2da506ec6544873f0aba026164e4bdd21751
hwmon: (w83795) Fix fan control mode attributes

There were two bugs:
* Speed cruise mode was improperly reported for all fans but fan1.
* Fan control method (PWM vs. DC) was mixed with the control mode.
  It will be added back as a separate attribute, as per the standard
  sysfs interface.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
drivers/hwmon/w83795.c