mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-24 12:04:33 +00:00
(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:
1 parent
5b90d68570
commit
36c650c50d
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user