diff --git a/kernel/chips/lm75.c b/kernel/chips/lm75.c index 4e2f731c..54967f04 100644 --- a/kernel/chips/lm75.c +++ b/kernel/chips/lm75.c @@ -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) || diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index f160306b..aa173b66 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -1146,7 +1146,6 @@ sub lm75_detect my $conf = i2c_smbus_read_byte_data($file,0x01); my $hyst = i2c_smbus_read_word_data($file,0x02); my $os = i2c_smbus_read_word_data($file,0x03); - return if $hyst & 0x7f00 or $os & 0x7f00 or $cur & 0x7f00; for ($i = 0x00; $i <= 0x1f; $i += 1) { return if i2c_smbus_read_byte_data($file,($i * 0x08) + 0x01) != $conf; return if i2c_smbus_read_word_data($file,($i * 0x08) + 0x02) != $hyst;