diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2017-11-26 17:40:56 +0100 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2017-12-07 09:28:31 +0100 |
commit | 989bb924c464f08ddac9c8ccb4bf6babbb9083f3 (patch) | |
tree | f993fee3faa0790b6abde41ecf25746cff7940a2 /drivers/i2c/mv_i2c.c | |
parent | 8c47ab6b3bdc696584d081d63daa2575db24cbfa (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>
Diffstat (limited to 'drivers/i2c/mv_i2c.c')
0 files changed, 0 insertions, 0 deletions