From 36c650c50dbde4790ea87f5dd5847e63f01b691a Mon Sep 17 00:00:00 2001 From: Kyosti Malkki Date: Mon, 23 Aug 1999 17:37:42 +0000 Subject: [PATCH] =?UTF-8?q?(Ky=C3=B6sti)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- kernel/sensors.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sensors.c b/kernel/sensors.c index 72a5a4bf..68bd3ed1 100644 --- a/kernel/sensors.c +++ b/kernel/sensors.c @@ -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; }