On 4 February 2015 at 21:50, Masahiro Yamada <[email protected]> wrote:
> If the i2c driver returns an error status, error out immediately.
> Continuing the loop just results in printing error messages
> again and again.
>
> Signed-off-by: Masahiro Yamada <[email protected]>
> Cc: Simon Glass <[email protected]>
> Cc: Heiko Schocher <[email protected]>
> ---
>
>  common/cmd_i2c.c | 26 +++++++++++++-------------
>  1 file changed, 13 insertions(+), 13 deletions(-)

In any case the result of continuing is not likely to be correct.

Reviewed-by: Simon Glass <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to