ARMV7: OMAP: I2C driver: Restructure i2c_probe function
authorSteve Sakoman <steve@sakoman.com>
Wed, 20 Oct 2010 13:07:47 +0000 (06:07 -0700)
committerHeiko Schocher <hs@denx.de>
Wed, 20 Oct 2010 13:28:48 +0000 (15:28 +0200)
commitfbad3555624a738a632ddb1b968e98a20e743941
tree2114222b2e3ec711fd980187aba040939b0bc33f
parentd480c4677315f15f155b64a14aa679adf27704c5
ARMV7: OMAP: I2C driver: Restructure i2c_probe function

This patch removes the "magic number" delays and instead
monitors state changes in the status register bits.

Signed-off-by: Steve Sakoman <steve.sakoman@linaro.org>
Tested-by: Heiko Schocher <hs@denx.de>
drivers/i2c/omap24xx_i2c.c