Skip to content
Snippets Groups Projects
Commit d042d712 authored by Tetsuyuki Kobayashi's avatar Tetsuyuki Kobayashi Committed by Heiko Schocher
Browse files

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: default avatarNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: default avatarTetsuyuki Kobayashi <koba@kmckk.co.jp>
parent 020ec727
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment