Skip to content
Commit 0c25aefa authored by Joakim Tjernlund's avatar Joakim Tjernlund Committed by Wolfram Sang
Browse files

i2c: mpc: Wait for STOP to hit the bus



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: default avatarJoakim Tjernlund <Joakim.Tjernlund@transmode.se>
Signed-off-by: default avatarWolfram Sang <w.sang@pengutronix.de>
parent 2bdbfa9c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment