i2c-pnx: Add stop conditions for end of transfer
authorKevin Wells <wellsk40@gmail.com>
Tue, 16 Mar 2010 22:55:37 +0000 (15:55 -0700)
committerBen Dooks <ben-linux@fluff.org>
Tue, 20 Apr 2010 00:16:57 +0000 (01:16 +0100)
commit28ad3321a1ac732c7fe37d5be85f67fe40ef18a9
tree97b5c130393adaa794d4ce2fec568742681d89d0
parentbe80dbaa3ed64337693be58fb2f3808e78911ba6
i2c-pnx: Add stop conditions for end of transfer

Add a stop condition bit flag to the last byte in the transfer.
This will generate an extra clock to handle the stop condition
and prevent devices from staying in an ACK'd state.

Signed-off-by: Kevin Wells <wellsk40@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-pnx.c