summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorTetsuyuki Kobayashi <koba@kmckk.co.jp>2012-09-13 19:08:01 +0000
committerHeiko Schocher <hs@denx.de>2012-10-16 05:47:20 +0200
commit0e5fb33cf7fa7352e9ecf88a834dd5e178f0e80f (patch)
treec674291f208cfd65e58d627c2e1cad0182942d48 /board
parentd042d7121b13d98bd403e7b64438ce55cfefd0d9 (diff)
downloadu-boot-imx-0e5fb33cf7fa7352e9ecf88a834dd5e178f0e80f.zip
u-boot-imx-0e5fb33cf7fa7352e9ecf88a834dd5e178f0e80f.tar.gz
u-boot-imx-0e5fb33cf7fa7352e9ecf88a834dd5e178f0e80f.tar.bz2
i2c: sh_i2c.c: check error in i2c_read and i2c_write
Before this patch, i2c_{read,write} always returned 0. Check TACK in i2c_raw_{read,write} so that i2c_{read,write} return non-zero when error. Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions