[U-Boot] [PATCH 3/4] i2c: meson: fix return codes on error
Heiko Schocher
hs at denx.de
Thu Dec 7 08:25:14 UTC 2017
Hello Beniamino,
Am 26.11.2017 um 17:40 schrieb Beniamino Galvani:
> 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 at gmail.com>
> ---
> drivers/i2c/meson_i2c.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Thanks!
Reviewed-by: Heiko Schocher <hs at denx.de>
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list