From: Ben Hutchings Date: Fri, 17 Oct 2008 15:51:11 +0000 (+0200) Subject: hwmon: (lm87) Fix masking of config register in lm87_init_client() X-Git-Tag: v2.6.28-rc1~259^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49ae6cc8005f45edadf237089c31885834f2608e;p=pandora-kernel.git hwmon: (lm87) Fix masking of config register in lm87_init_client() lm87_init_client() conditionally sets the Start bit and clears the INT#_Clear bit in the Config 1 register. The condition should be that either of these bits needs changing, but currently it checks the (self-clearing) Initialization bit instead of INT#_Clear. Fix the condition and also ensure we never set the Initialization bit. Signed-off-by: Ben Hutchings Signed-off-by: Jean Delvare --- Reading git-diff-tree failed