commit | 38caa925ee67d2359f45a4a9cd1afa2e23a9eece | [log] [tgz] |
---|---|---|
author | Jan Glauber <jglauber@cavium.com> | Wed Sep 21 08:51:04 2016 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Wed Sep 21 23:04:42 2016 +0200 |
tree | 830aa97b646f82ec4e519dfa194625abf572571f | |
parent | de919ff6a0060510b099405d9b8f9413aba9ae14 [diff] |
i2c: octeon: Fix high-level controller status check In case the high-level controller (HLC) is used the status code is reported at a different location. Check that location after HLC write operations if the ready bit is not set and return an appropriate error code instead of always returning -EAGAIN. Signed-off-by: Jan Glauber <jglauber@cavium.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>