mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-08 16:11:26 +00:00
Fix LM75 detection.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2637 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
58fffd81d7
commit
ec48efad1c
2 files changed
+2
-4
No files matched your search
+1
-2
@@ -168,8 +168,7 @@ int lm75_detect(struct i2c_adapter *adapter, int address,
|
||||
goto error1;
|
||||
|
||||
/* Unused bits */
|
||||
if ((conf & 0xe0) || (cur & 0x7f00) || (hyst & 0x7f00)
|
||||
|| (os & 0x7f00))
|
||||
if (conf & 0xe0)
|
||||
goto error1;
|
||||
|
||||
/* Addresses cycling */
|
||||
|
||||
Reference in new issue
Block a user