Re: [U-Boot] [PATCH 3/4] i2c: meson: fix return codes on error

2017-12-07 Thread Heiko Schocher
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 ---

Re: [U-Boot] [PATCH 3/4] i2c: meson: fix return codes on error

2017-12-07 Thread Heiko Schocher
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 ---

Re: [U-Boot] [PATCH 3/4] i2c: meson: fix return codes on error

2017-11-27 Thread Simon Glass
On 26 November 2017 at 09:40, Beniamino Galvani wrote: > 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 > --- >

[U-Boot] [PATCH 3/4] i2c: meson: fix return codes on error

2017-11-26 Thread 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 --- drivers/i2c/meson_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff