]> Git Repo - u-boot.git/commit
i2c: meson: fix return codes on error
authorBeniamino Galvani <[email protected]>
Sun, 26 Nov 2017 16:40:56 +0000 (17:40 +0100)
committerHeiko Schocher <[email protected]>
Thu, 7 Dec 2017 08:28:31 +0000 (09:28 +0100)
commit989bb924c464f08ddac9c8ccb4bf6babbb9083f3
treef993fee3faa0790b6abde41ecf25746cff7940a2
parent8c47ab6b3bdc696584d081d63daa2575db24cbfa
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 <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
drivers/i2c/meson_i2c.c
This page took 0.032819 seconds and 4 git commands to generate.