From: Vikram Pandita<vikram.pandita@xxxxxx>
In case a peripheral is holding the DATA bus low, provide a 400Khz
constant clock output using the TEST register.
Also soft reset the I2C controller so that there is no stale state
left in the HW state machine.
A WARN_ON() will be generated when a BB timeout happens.
Signed-off-by: Vikram Pandita<vikram.pandita@xxxxxx>
Signed-off-by: Shubhrajyoti D<shubhrajyoti@xxxxxx>
---
drivers/i2c/busses/i2c-omap.c | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)