(Kyösti)

* changed sensors.o to use WRITE address to check existence of
   a client

 In most cases this makes no difference. However, some versions of the
 Matrox Orbital display hang the bus if you try to ack the read address.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@535 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Kyosti Malkki committed 1999-08-23 17:37:42 +00:00
1 parent 5b90d68570
commit 36c650c50d
1 file changed
+1 -1
+1 -1
View File
@@ -741,7 +741,7 @@ int sensors_detect(struct i2c_adapter *adapter,
/* OK, so we really should examine this address. First check
whether there is some client here at all! */
if (is_isa || (i2c_smbus_read_byte(adapter,addr) >= 0))
if (is_isa || (i2c_smbus_write_quick(adapter,addr,0) >= 0))
if ((err = found_proc(adapter,addr,-1)))
return err;
}