This patch adds the 'reset framework' function for I2C drivers, which...
resets the I2C controller when a timeout exception occurs.
+ if (i2c_dev->rst != NULL) {if (i2c_dev->rst) {
+ ret = reset_control_reset(i2c_dev->rst);
+ if (ret < 0)
+ dev_err(i2c_dev->dev, "i2c soft reset failed, ret = %d\n", ret);
+ }