fsl_i2c: Do not generate STOP after read.
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Tue, 22 Sep 2009 11:40:44 +0000 (13:40 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 28 Sep 2009 05:35:56 +0000 (07:35 +0200)
commitd1c9e5b37901b53ffc1ce3f08ec8ed61bfd557b6
tree78182e8bca0369b4bbd625da4a41cf0c5267535e
parent99404202127346b9e91503bbd69deafa18c980c4
fsl_i2c: Do not generate STOP after read.

__i2c_read always ends with a STOP condition thereby releasing
the bus. It is cleaner to do the STOP magic in i2c_read(), like
i2c_write() does. This may also help future multimaster systems which
wants to hold on to the bus until all transactions are finished.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
drivers/i2c/fsl_i2c.c