commit | 04b95388a12fea9c0a83faa93b44a81f71ef55dd | [log] [tgz] |
---|---|---|
author | Beniamino Galvani <b.galvani@gmail.com> | Sun Nov 26 17:40:56 2017 +0100 |
committer | Heiko Schocher <hs@denx.de> | Thu Dec 07 09:28:31 2017 +0100 |
tree | f993fee3faa0790b6abde41ecf25746cff7940a2 | |
parent | cf0a7a98a35d2e5cb1299a835796036b0e45ff5d [diff] |
i2c: meson: fix return codes on error Change meson_i2c_xfer_msg() to return -EREMOTEIO in case of NACK, as done by other drivers. Also, don't change the return error in meson_i2c_xfer(). Signed-off-by: Beniamino Galvani <b.galvani@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>