i2c-mpc: Do not generate STOP after read.
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Tue, 13 Oct 2009 08:12:03 +0000 (10:12 +0200)
committerBen Dooks <ben-linux@fluff.org>
Mon, 2 Nov 2009 23:28:47 +0000 (23:28 +0000)
commit45da790ebe746bb29f7e4adf806c020db6ff7755
tree0aa6a12cb9b128dd2bde8d71466e878420bc67c0
parentdb3a3d4ef7f676501325ae9c7ce0c193c2c1b28f
i2c-mpc: Do not generate STOP after read.

The driver always ends a read with a STOP condition which
breaks subsequent I2C reads/writes in the same transaction as
these expect to do a repeated START(ReSTART).

This will also help I2C multimaster as the bus will not be released
after the first read, but when the whole transaction ends.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-mpc.c