]> git.ipfire.org Git - people/ms/linux.git/commit
hwmon: (it87) Prevent power-off on Shuttle SN68PT
authorJean Delvare <khali@linux-fr.org>
Fri, 10 Oct 2008 09:04:39 +0000 (11:04 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Oct 2008 21:05:15 +0000 (14:05 -0700)
commit78bcf39f4d2084c15de0bf2a88dfdd39fa5fab63
tree62a8415cdab6a18972c4422f6a724255e9e5cf8c
parent5ef93cfb4d7b09ead031cbea5f7339d26ad1a466
hwmon: (it87) Prevent power-off on Shuttle SN68PT

based on commit 98dd22c3e086d76058083432d4d8fb85f04bab90 upstream

On the Shuttle SN68PT, FAN_CTL2 is apparently not connected to a fan,
but to something else. One user has reported instant system power-off
when changing the PWM2 duty cycle, so we disable it.

I use the board name string as the trigger in case the same board is
ever used in other systems.

This closes lm-sensors ticket #2349:
pwmconfig causes a hard poweroff
http://www.lm-sensors.org/ticket/2349

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/it87.c