diff options
author | Jan Glauber <jglauber@cavium.com> | 2018-02-27 18:42:13 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-03-02 13:11:15 +0300 |
commit | 7c4246797b84e55e2dfaaf8a18033de9df7c18c1 (patch) | |
tree | 0b330bd0142741696b6bc8abaa973c46f945fcb2 /Documentation | |
parent | 1a0e3a35c651b56db59a28b5f693cdf9d4582b56 (diff) | |
download | linux-7c4246797b84e55e2dfaaf8a18033de9df7c18c1.tar.xz |
i2c: octeon: Prevent error message on bus error
The error message:
[Fri Feb 16 13:42:13 2018] i2c-thunderx 0000:01:09.4: unhandled state: 0
is mis-leading as state 0 (bus error) is not an unknown state.
Return -EIO as before but avoid printing the message. Also rename
STAT_ERROR to STATE_BUS_ERROR.
Signed-off-by: Jan Glauber <jglauber@cavium.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions