]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ARMV7: OMAP: I2C driver: Restructure i2c_read_byte function
authorSteve Sakoman <steve@sakoman.com>
Wed, 20 Oct 2010 13:07:45 +0000 (06:07 -0700)
committerHeiko Schocher <hs@denx.de>
Wed, 20 Oct 2010 13:28:37 +0000 (15:28 +0200)
commitda0cc665bc0b74c6650f340275c5462ec4c08645
treea7300a037c81655bae1ab5b05ba22bafcb691bc2
parent73e8747fe48c54dda16670421dbc370b5b2a4a52
ARMV7: OMAP: I2C driver: Restructure i2c_read_byte function

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

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