Removed 'bit 0-6 of LM75 word read must be zero' detection check, as

it is not necessary true, as proved by Ben Jarvis


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@445 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-05-05 15:51:42 +00:00
1 parent bafde5f9d3
commit 300b6bd6d7
2 files changed
-3

No files matched your search

-2
View File
@@ -168,8 +168,6 @@ int lm75_detect(struct i2c_adapter *adapter, int address, int kind)
conf = smbus_read_byte_data(adapter,address,1);
hyst = smbus_read_word_data(adapter,address,2);
os = smbus_read_word_data(adapter,address,3);
if ((hyst & 0x7f00) || (os & 0x7f00) || (cur & 0x7f00))
goto ERROR1;
for (i = 0; i <= 0x1f; i++)
if ((smbus_read_byte_data(adapter,address,i*8+1) != conf) ||
(smbus_read_word_data(adapter,address,i*8+2) != hyst) ||