Skip to content
Commit 73e8747f authored by Steve Sakoman's avatar Steve Sakoman Committed by Heiko Schocher
Browse files

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: default avatarSteve Sakoman <steve.sakoman@linaro.org>
Tested-by: default avatarHeiko Schocher <hs@denx.de>
parent 11c8dd36
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment