]> git.sur5r.net Git - u-boot/commit
omap24xx_i2c: Handle wait_for_bb error
authorVincent Stehlé <v-stehle@ti.com>
Mon, 3 Dec 2012 05:23:16 +0000 (05:23 +0000)
committerTom Rini <trini@ti.com>
Mon, 10 Dec 2012 19:45:35 +0000 (12:45 -0700)
commitfebc4cd48a5c030c7fd411be519505701c100838
tree4167f93568b48a78a3d05a0de2ef2f25ad11c933
parentdcee1ab3207327f142635b08e834af5e9f9f8cc9
omap24xx_i2c: Handle wait_for_bb error

We add a return code to wait_for_bb() to be able to report errors to the
callers properly. We in turn handle this new error code in i2c_read, i2c_write
and i2c_probe.

Signed-off-by: Vincent Stehlé <v-stehle@ti.com>
drivers/i2c/omap24xx_i2c.c