diff options
author | Ben Hutchings <[email protected]> | 2008-10-17 17:51:11 +0200 |
---|---|---|
committer | Jean Delvare <[email protected]> | 2008-10-17 17:51:11 +0200 |
commit | 49ae6cc8005f45edadf237089c31885834f2608e (patch) | |
tree | b8fa52e5eb4af19f7ff7438067cf2876ca382a06 /net/unix/sysctl_net_unix.c | |
parent | 4b4e7a72fda549e309919931d8a39dea4e5b4be1 (diff) |
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 <[email protected]>
Signed-off-by: Jean Delvare <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions