commit | 6b546f316f011c4c011146237607d902a72ebbae | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Thu Feb 05 13:50:26 2015 +0900 |
committer | Heiko Schocher <hs@denx.de> | Thu Feb 19 08:44:21 2015 +0100 |
tree | 440af60e5cf49048d8f0d4778fb4ebe344b08fd6 | |
parent | f3ae2ab4cf2cb17e7d7ea61748607913bd38625e [diff] |
cmd_i2c: quit I2C commands immediately on error 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 <yamada.m@jp.panasonic.com> Cc: Simon Glass <sjg@chromium.org> Cc: Heiko Schocher <hs@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>