Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment