]> git.baikalelectronics.ru Git - kernel.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)
commit8c0cf78e16df26935eee723d0f5a8e99bed778f1
treebf08d6bc425c43cce063ecdb2e3e76bb776b1618
parenteb73fb5358a75dcb7084563f93a44706294f986a
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