diff options
author | Tetsuyuki Kobayashi <koba@kmckk.co.jp> | 2012-09-13 19:08:01 (GMT) |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2012-10-16 03:47:20 (GMT) |
commit | 0e5fb33cf7fa7352e9ecf88a834dd5e178f0e80f (patch) | |
tree | c674291f208cfd65e58d627c2e1cad0182942d48 /disk/part_iso.c | |
parent | d042d7121b13d98bd403e7b64438ce55cfefd0d9 (diff) | |
download | u-boot-fsl-qoriq-0e5fb33cf7fa7352e9ecf88a834dd5e178f0e80f.tar.xz |
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 'disk/part_iso.c')
0 files changed, 0 insertions, 0 deletions