[PATCH] i2c-iop3xx: Avoid addressing self
authorPeter Milne <peter.milne@d-tacq.com>
Sat, 1 Jul 2006 15:03:20 +0000 (17:03 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 12 Jul 2006 22:43:06 +0000 (15:43 -0700)
commit39288e1ac10b3b9a68a629be67d81a0b53512c4e
tree6919a260a100cf19581d1641b22d1d982080528b
parent2369df933f1c632ec3f230774019e37c3969b7ec
[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>
drivers/i2c/busses/i2c-iop3xx.c
drivers/i2c/busses/i2c-iop3xx.h