From: Jason Marini Date: Thu, 28 Aug 2008 19:30:58 +0000 (-0400) Subject: ARM: OMAP: Fix occasional i2c driver hang X-Git-Tag: v2.6.27-omap1~227 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62cd232bc55aba47b37538143266cbfd08caa2eb;p=pandora-kernel.git 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 Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed