Ben Hutchings 49ae6cc800 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 <bhutchings@solarflare.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2008-10-17 17:51:11 +02:00
..
2008-08-15 08:35:43 -07:00
2008-08-15 08:35:43 -07:00
2008-08-15 08:35:44 -07:00
2008-08-15 11:50:15 -07:00
2008-08-10 22:56:16 +02:00
2008-10-17 17:51:11 +02:00