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

Simon Glass sjg at chromium.org
Mon Nov 27 09:09:59 PST 2017


On 26 November 2017 at 09:40, Beniamino Galvani <b.galvani at gmail.com> 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 <b.galvani at gmail.com>
> ---
>  drivers/i2c/meson_i2c.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>



More information about the linux-amlogic mailing list