commit | cece11ca01cdcdf16a7f117f98d04278fae684ee | [log] [tgz] |
---|---|---|
author | Tetsuyuki Kobayashi <koba@kmckk.co.jp> | Thu Sep 13 19:08:00 2012 +0000 |
committer | Heiko Schocher <hs@denx.de> | Tue Oct 16 05:47:20 2012 +0200 |
tree | 46bb768ee28991cb13da59ecf9827c7836d1ae61 | |
parent | c105d3f12fb12ba4afe217a8f4b5a044ed80ea20 [diff] |
i2c: sh_i2c: enable i2c_probe Before this patch i2c_probe() always returned 0 and "i2c probe" command did not work properly. Modify i2c_set_addr() to check TACK when waiting DTE and make i2c_probe() call this function. Acked-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Tetsuyuki Kobayashi <koba@kmckk.co.jp>