On Wed, Sep 21, 2016 at 10:55:41PM +0200, Wolfram Sang wrote: > On Wed, Sep 21, 2016 at 08:51:05AM +0200, Jan Glauber wrote: > > Add an additional status check before starting a transaction and, > > if required, trigger the recovery if the check fails. > > > > Signed-off-by: Jan Glauber <jglauber@xxxxxxxxxx> > > Won't this break multi-master setups? > I'm afraid yes. I don't have a multi-master setup, but agree that we should not break it. How about re-checking if the bus is idle until a timeout (i2c->adap.timeout ?) happens and only then recover? Additionaly we can check for arbitration loss as Dmitry did in his original patch. --Jan -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html