aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dynamic_debug.c
diff options
context:
space:
mode:
authorBernhard Walle <[email protected]>2010-09-27 10:55:16 +0000
committerBen Dooks <[email protected]>2010-09-27 22:21:16 +0000
commitcc33e54290ed845904dac4b047934207738f0205 (patch)
tree439d14aca85918a9aef8c371513c249d331771ac /lib/dynamic_debug.c
parenti2c-omap: Make sure i2c bus is free before setting it to idle (diff)
downloadkernel-cc33e54290ed845904dac4b047934207738f0205.tar.gz
kernel-cc33e54290ed845904dac4b047934207738f0205.zip
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 <[email protected]> Acked-by: David Daney <[email protected]> Signed-off-by: Ben Dooks <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions