diff options
author | Peter Milne <peter.milne@d-tacq.com> | 2006-07-01 17:03:20 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-07-13 00:43:06 +0200 |
commit | 39288e1ac10b3b9a68a629be67d81a0b53512c4e (patch) | |
tree | 6919a260a100cf19581d1641b22d1d982080528b /drivers/i2c/busses/i2c-iop3xx.h | |
parent | [PATCH] i2c: Fix 'ignore' module parameter handling in i2c-core (diff) | |
download | linux-39288e1ac10b3b9a68a629be67d81a0b53512c4e.tar.xz linux-39288e1ac10b3b9a68a629be67d81a0b53512c4e.zip |
[PATCH] i2c-iop3xx: Avoid addressing self
Avoid addressing self when sending a slave address. Follows instruction
in Intel 80331/80321 manuals.
Ignoring this worked previously on 80321, but causes a hang on i2cdetect
on 80331.
Signed-off-by: Peter Milne <peter.milne@d-tacq.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/busses/i2c-iop3xx.h')
-rw-r--r-- | drivers/i2c/busses/i2c-iop3xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-iop3xx.h b/drivers/i2c/busses/i2c-iop3xx.h index e46ebaea7b1e..8485861f6a36 100644 --- a/drivers/i2c/busses/i2c-iop3xx.h +++ b/drivers/i2c/busses/i2c-iop3xx.h @@ -80,7 +80,7 @@ #define IOP3XX_GPOD_I2C0 0x00c0 /* clear these bits to enable ch0 */ #define IOP3XX_GPOD_I2C1 0x0030 /* clear these bits to enable ch1 */ -#define MYSAR 0x02 /* SWAG a suitable slave address */ +#define MYSAR 0 /* default slave address */ #define I2C_ERR 321 #define I2C_ERR_BERR (I2C_ERR+0) |