]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-eg20t: Fix bus-idle waiting issue
authorTomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Wed, 12 Oct 2011 04:13:00 +0000 (13:13 +0900)
committerBen Dooks <ben-linux@fluff.org>
Sat, 29 Oct 2011 10:09:32 +0000 (11:09 +0100)
commit2e823561a24a9eb1c1614376bda6f2b78db72e37
tree190708ec41707f3bdae87b68ddaa299b86b43f4d
parent10be5d120cfb7c94ea82ae470a8756a624e1eb98
i2c-eg20t: Fix bus-idle waiting issue

Currently, when checking whether bus is idle or not,
if timeout occurs,
this function always returns success(zero).
This patch fixes the issue.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.lapis-semi.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
drivers/i2c/busses/i2c-eg20t.c