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:
Jean Delvare committed 2004-07-08 19:16:14 +00:00
1 parent 58fffd81d7
commit ec48efad1c
2 files changed
+2 -4

No files matched your search

+1 -2
View File
@@ -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 */