ARM: OMAP: Fix occasional i2c driver hang
authorJason Marini <jason.marini@gmail.com>
Thu, 28 Aug 2008 19:30:58 +0000 (15:30 -0400)
committerTony Lindgren <tony@atomide.com>
Wed, 10 Sep 2008 20:40:11 +0000 (13:40 -0700)
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>

No differences found