commit | 7c4246797b84e55e2dfaaf8a18033de9df7c18c1 | [log] [tgz] |
---|---|---|
author | Jan Glauber <jglauber@cavium.com> | Tue Feb 27 16:42:13 2018 +0100 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Mar 02 11:11:15 2018 +0100 |
tree | 0b330bd0142741696b6bc8abaa973c46f945fcb2 | |
parent | 1a0e3a35c651b56db59a28b5f693cdf9d4582b56 [diff] |
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>