i2c-octeon: Return -ETIMEDOUT in octeon_i2c_wait() on timeout
authorBernhard Walle <walle@corscience.de>
Mon, 27 Sep 2010 10:55:16 +0000 (12:55 +0200)
committerBen Dooks <ben-linux@fluff.org>
Mon, 27 Sep 2010 22:21:16 +0000 (23:21 +0100)
It doesn't make sense to set result to -ETIMEDOUT but return 0 (success)
afterwards. Since there's code in octeon_i2c_start() to handle the
error, it should be called.

Signed-off-by: Bernhard Walle <walle@corscience.de>
Acked-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>

No differences found