Re: from WHERE platform driver's probe is called?

2014-12-02 Thread subin gangadharan
On Thu, Nov 27, 2014 at 1:00 AM, Sunil Shahu wrote: > Hi Daniel, > Thanks, dump_stack() is what I needed. > > Hi Subin, > Thanks for the snapshot. > > Also, I am attaching a graph for what I understood after following > dump_stack(). > > Please let me know if there is any issue with the flow. > >

Re: from WHERE platform driver's probe is called?

2014-11-22 Thread Aruna Hewapathirane
>>I am looking into platform driver and devices and understood HOW platform driver's probe is called from kernel doc and >>following forum. http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 I would ask *what* is

Re: from WHERE platform driver's probe is called?

2014-11-21 Thread subin gangadharan
Hi Sunil, >>I am still not able to locate from WHERE this probe function is called and >>WHO calls it? I can try to give you a snapshot of the function call trace. But if you really want to get in depth detail, as Greg said look at the code driver/base. driver_register ->bus_add_driver->driver_

Re: from WHERE platform driver's probe is called?

2014-11-21 Thread Greg KH
On Fri, Nov 21, 2014 at 01:16:21PM +, Sunil Shahu wrote: > Hello, > > I am looking into platform driver and devices and understood HOW platform > driver's probe is called from kernel doc and following forum. > http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 > > For further in

Re: from WHERE platform driver's probe is called?

2014-11-21 Thread Varka Bhadram
This link can answer your ques: http://stackoverflow.com/questions/22722520/who-calls-probe-function-in-driver-code Thanks. On Fri, Nov 21, 2014 at 6:46 PM, Sunil Shahu wrote: > Hello, > > I am looking into platform driver and devices and understood HOW platform > driver's probe is called from

Re: from WHERE platform driver's probe is called?

2014-11-21 Thread Daniel Baluta
On Fri, Nov 21, 2014 at 3:16 PM, Sunil Shahu wrote: > Hello, > > I am looking into platform driver and devices and understood HOW platform > driver's probe is called from kernel doc and following forum. > http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 > > For further information

Re: from WHERE platform driver's probe is called?

2014-11-21 Thread Sudip Mukherjee
On Fri, Nov 21, 2014 at 6:46 PM, Sunil Shahu wrote: > Hello, > > I am looking into platform driver and devices and understood HOW platform > driver's probe is called from kernel doc and following forum. > http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 > > For further information

from WHERE platform driver's probe is called?

2014-11-21 Thread Sunil Shahu
Hello, I am looking into platform driver and devices and understood HOW platform driver's probe is called from kernel doc and following forum.http://comments.gmane.org/gmane.linux.kernel.kernelnewbies/37050 For further information I went through code in platform_driver_register() and got lost.