summaryrefslogtreecommitdiff
path: root/common/cmd_i2c.c
diff options
context:
space:
mode:
authorSteve Sakoman <steve@sakoman.com>2010-10-20 06:07:44 -0700
committerHeiko Schocher <hs@denx.de>2010-10-20 15:28:33 +0200
commit73e8747fe48c54dda16670421dbc370b5b2a4a52 (patch)
treeacea10e78550249ac3498d9c1b5756ffe11fed87 /common/cmd_i2c.c
parent11c8dd36edcc82564a19dbd0103302df66d66db0 (diff)
downloadu-boot-imx-73e8747fe48c54dda16670421dbc370b5b2a4a52.zip
u-boot-imx-73e8747fe48c54dda16670421dbc370b5b2a4a52.tar.gz
u-boot-imx-73e8747fe48c54dda16670421dbc370b5b2a4a52.tar.bz2
ARMV7: OMAP: I2C driver: Use same timeout value as linux kernel driver
This patch matches the poll interval (1 millisecond) and timeout (1 second) used in the linux driver. It also adds a return value of 0 in the event of a timeout error and cleans up some formatting errors in that section of the code. Signed-off-by: Steve Sakoman <steve.sakoman@linaro.org> Tested-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'common/cmd_i2c.c')
0 files changed, 0 insertions, 0 deletions