From: Jean Delvare Date: Thu, 5 Jul 2007 18:39:40 +0000 (+0200) Subject: hwmon: (lm85) Let the user set the fan min limit to 0 X-Git-Tag: v2.6.24-rc1~1299^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63f281a6e32ebc93c62dac0d399d8e054eb7b2ec;p=pandora-kernel.git hwmon: (lm85) Let the user set the fan min limit to 0 Trying to set the fan min limit to 0 currently writes 0 to the register, which is an invalid value. It's read back as -1 and the alarm flag is raised. Instead we should write 0xffff (maximum value), which reads back as 0 and no alarm flag is raised. Signed-off-by: Jean Delvare Acked-by: Juerg Haefliger Signed-off-by: Mark M. Hoffman --- Reading git-diff-tree failed