2008-04-14 01:37:27     function passed to i2c_probe not called... why?

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-04-14 01:37:27     function passed to i2c_probe not called... why?

John Zalfer (UNITED STATES)

Message: 54174    I'm writing an i2c driver and, although i2c_probe is being called, the function I pass to it never does.  What do I need to do to get that function called?  Could it be that no device is being detected at the address I've specified?  i2c_probe is returning 0...

QuoteReplyEditDelete

 

 

2008-04-14 02:03:22     Re: function passed to i2c_probe not called... why?

Mike Frysinger (UNITED STATES)

Message: 54175    the function is only called when devices are detected.  if you didnt declare your slave addresses properly, or the hardware isnt correct, then the callback function will never be called.

 

please review the docs:

http://docs.blackfin.uclinux.org/doku.php?id=i2c

Attachments

    Outcomes