]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit2709781be6141798162f1089df728fb218a590df
tree0312bb3debaf0cd422bf6783a574a67730b1c9c5
parente1441b9a41c33aa9236008a7cfe49a8e723fb397
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