]> git.baikalelectronics.ru Git - kernel.git/commit
I2C: S3C2410: Check ACK on byte transmission
authorBen Dooks <ben-linux@fluff.org>
Tue, 1 Jul 2008 10:59:41 +0000 (11:59 +0100)
committerBen Dooks <ben-linux@fluff.org>
Tue, 1 Jul 2008 13:30:37 +0000 (14:30 +0100)
commitfd73a74f22d6ea2e6cdd96d65b3306a1495c9f6b
tree0312bb3debaf0cd422bf6783a574a67730b1c9c5
parent77d1964779f2fcaee94eff4389213866c348df1c
I2C: S3C2410: Check ACK on byte transmission

We should check for the reception of an ACK after transmitting each
data byte. The address send has been correctly checking this, but the
data write byte state should have also been checking for these failures.

As part of the same fix, we remove the ACK checking from the receive
path where it should not have been checking for an ACK which our hardware
was sending.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-s3c2410.c