]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitddc4eb36fb7cc4aca80894e2ad6016ede0ed875a
tree97b5c130393adaa794d4ce2fec568742681d89d0
parent5f111c9f41bf72663f8cf9da2615dc26950df9dc
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