commit | d042d7121b13d98bd403e7b64438ce55cfefd0d9 | [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 | 020ec727a6bda10f47d69926814d476c0085e8a9 [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>