aboutsummaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorBernhard Walle <walle@corscience.de>2010-09-27 06:55:16 -0400
committerBen Dooks <ben-linux@fluff.org>2010-09-27 18:21:16 -0400
commitcc33e54290ed845904dac4b047934207738f0205 (patch)
tree439d14aca85918a9aef8c371513c249d331771ac /mm/util.c
parent5c64eb26ed5c5550fbabd345e573af3fc6a7f775 (diff)
i2c-octeon: Return -ETIMEDOUT in octeon_i2c_wait() on timeout
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>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions