commit | fb5c39a5be6ce5eca819f6c2d39ff79dc96c7655 | [log] [tgz] |
---|---|---|
author | Steve Sakoman <steve@sakoman.com> | Wed Oct 20 06:07:44 2010 -0700 |
committer | Heiko Schocher <hs@denx.de> | Wed Oct 20 15:28:33 2010 +0200 |
tree | acea10e78550249ac3498d9c1b5756ffe11fed87 | |
parent | 3676f808142ccab268bef490aa9dbabce633446b [diff] |
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>