[Bug fix] octeon-i2c driver improvement [1/2]

2017-12-06 Thread Zhang, Sean C. (NSB - CN/Hangzhou)
Hi Jan and David, For octeon-i2c driver, there only has bus recovery for octeon TWSI low level control mode, no recovery for high level control mode, attached patch is used to extend the recovery step from octeon_i2c_start() to octeon_i2c_xfer() for some case octeon TWSI high level control

[Bug fix] octeon-i2c driver improvement [1/2]

2017-12-06 Thread Zhang, Sean C. (NSB - CN/Hangzhou)
Hi Jan and David, For octeon-i2c driver, there only has bus recovery for octeon TWSI low level control mode, no recovery for high level control mode, attached patch is used to extend the recovery step from octeon_i2c_start() to octeon_i2c_xfer() for some case octeon TWSI high level control