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)
commit93e4ad74da14c8d5564cfc0b57c40ca311e53d47
tree190708ec41707f3bdae87b68ddaa299b86b43f4d
parent1fdb24e969110fafea36d3b393bea438f702c87f
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