On Wed, Jan 27, 2016 at 04:44:43PM +0800, ying.zhang22455@xxxxxxx wrote: > From: Ying Zhang <b40530@xxxxxxxxxxxxx> > > When a system reset does not cause all I2C devices to be reset, slave can > hold bus low to cause bus hang. > It is necessary to force the I2C module to become the I2C bus master out > of reset and drive SCL. > > The patch fixup the bus if a hang has been detected. > > Signed-off-by: Ying Zhang <b40530@xxxxxxxxxxxxx> Can't you make use of the generic recovery infrastructure using struct i2c_bus_recovery_info?
Attachment:
signature.asc
Description: PGP signature