diff options
author | Jan Glauber <jglauber@cavium.com> | 2018-02-27 16:42:13 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2018-03-02 11:11:15 +0100 |
commit | 7c4246797b84e55e2dfaaf8a18033de9df7c18c1 (patch) | |
tree | 0b330bd0142741696b6bc8abaa973c46f945fcb2 /drivers/ata/pata_mpiix.c | |
parent | Merge tag 'at24-4.16-rc4-for-wolfram' of git://git.kernel.org/pub/scm/linux/k... (diff) | |
download | linux-7c4246797b84e55e2dfaaf8a18033de9df7c18c1.tar.xz linux-7c4246797b84e55e2dfaaf8a18033de9df7c18c1.zip |
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 'drivers/ata/pata_mpiix.c')
0 files changed, 0 insertions, 0 deletions