]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (w83795) Unconditionally support manual fan speed control
authorJean Delvare <khali@linux-fr.org>
Sun, 25 Mar 2012 23:42:14 +0000 (10:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 25 Mar 2012 23:42:14 +0000 (10:42 +1100)
commit5e42f332f470a8321ee013f19e93bfae994626eb
treead5db0b19671d6dac0a4da35f82e469ae4681cba
parentaaa284facb3acfbd73727868a79cd3879754845b
hwmon: (w83795) Unconditionally support manual fan speed control

Manual fan speed control uses a standard interface and has received
sufficient testing and review by now, it can be enabled
unconditionally. This includes attributes pwm[1-8], pwm[1-8]_enable,
pwm[1-8]_mode and pwm[1-8]_freq.

We only let the user switch from automatic mode to manual mode, but
not the other way around, as automatic control settings may not have
been set properly by the BIOS.

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