kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* probe gets called without i2c device
@ 2018-03-23 12:17 MUHAMMED ASAD P T
  2018-03-23 12:27 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: MUHAMMED ASAD P T @ 2018-03-23 12:17 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

 

 We didn't connect our i2c device with our board. But kernel driver

 subsystem calls the probe function from driver code. How to debug the

 issue.



our observation is as follows,

 

 In driver, if we comment out the .id_table in driver struct, then it

 is not loaded. When the device is connected or not, both the time, the

 driver is not loaded.








-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180323/79a02545/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread
* probe gets called without i2c device
@ 2018-03-23  7:19 MUHAMMED ASAD P T
  0 siblings, 0 replies; 5+ messages in thread
From: MUHAMMED ASAD P T @ 2018-03-23  7:19 UTC (permalink / raw)
  To: kernelnewbies

Hi all,



We didn't connect our i2c device with our board. But kernel driver subsystem calls the probe function from driver code. How to debug the issue.









Thanks &amp; Regards

- Asad

  IQ Root Technologies





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180323/40c51929/attachment.html>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-03-23 14:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-23 12:17 probe gets called without i2c device MUHAMMED ASAD P T
2018-03-23 12:27 ` Greg KH
2018-03-23 13:37   ` MUHAMMED ASAD P T
2018-03-23 14:59     ` valdis.kletnieks at vt.edu
  -- strict thread matches above, loose matches on Subject: below --
2018-03-23  7:19 MUHAMMED ASAD P T

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).