Jan Glauber 7c4246797b 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>
2018-03-02 11:11:15 +01:00
..
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2017-10-28 14:03:45 +02:00
2014-11-07 18:35:33 +01:00
2016-10-25 11:48:58 +02:00
2014-11-07 18:35:33 +01:00
2017-08-29 22:35:14 +02:00
2014-11-07 18:35:33 +01:00
2017-08-12 13:25:17 +02:00
2017-04-16 21:48:06 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2017-12-12 23:16:04 +01:00
2017-12-12 23:16:04 +01:00
2017-12-12 23:16:04 +01:00
2014-11-07 18:35:33 +01:00
2017-08-29 22:26:08 +02:00