[PATCH] i2c-mpc: Do not generate STOP after read.

Wolfgang Grandegger wg at grandegger.com
Fri Sep 25 20:01:17 EST 2009


Joakim Tjernlund wrote:
> 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 at transmode.se>
Tested-by: Wolfgang Grandegger <wg at grandegger.com>

on a MPC8548 board with an up-to-date kernel. I did not realize any
problems.

Wolfgang.


More information about the Linuxppc-dev mailing list