i2c: mpc: Wait for STOP to hit the bus
authorJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Thu, 30 Aug 2012 10:40:04 +0000 (12:40 +0200)
committerWolfram Sang <w.sang@pengutronix.de>
Fri, 14 Sep 2012 14:01:04 +0000 (16:01 +0200)
mpc_i2c_stop() only initiates STOP but does not wait for it to
hit the I2C bus. This is a problem when using I2C devices which
uses fairly long clock stretching just before STOP if you also
have an i2c-mux which may switch to another bus before STOP has
been processed.

Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>

No differences found