on Wed, Mar 03, 2004 at 05:12:26PM +0100, Alain2210 wrote:
> I have made some other test. It seems that shamcop_adc_probe() is not called by
> soc_device_register(sdev) in shamcop_probe since a printk instruction is executed
> after the soc_device_register(sdev) but before shamcop_adc_probe(). Do I make a
> mistake ?
It's not necessarily called synchronously from there. The soc-device
code will call the ADC probe function to attach the device to the bus
when both the device and the driver has been registered. These happen
in shamcop_probe() and shamcop_adc_init() respectively, and whichever of
those functions is called later will be the one that actually triggers
the attachment.
p.
Received on Wed Mar 03 17:53:11 2004
This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:41:46 EDT