ARM: OMAP: Fix occasional i2c driver hang
The i2c driver contains a while loop that has no timeout. If i2c is in a funky state and OMAP_I2C_CON_STT remains asserted, the kernel hangs. Insert the standard i2c timeout into the loop. Signed-off-by: Jason P Marini <jason.marini@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Showing
Please register or sign in to comment