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: NSteve Sakoman <steve.sakoman@linaro.org> Tested-by: NHeiko Schocher <hs@denx.de>
Showing
想要评论请 注册 或 登录