issues calling of_platform_bus_probe() twice

Tabi Timur-B04825 B04825 at freescale.com
Sun Mar 18 00:35:02 EST 2012


Grant Likely wrote:
>>> >  >  Are you aware of any reason that we can't call of_platform_bus_probe()
>>> >  >  or multiple times.  Timur's run into an issue in which all devices
>>> >  >  don't get registered properly if we call of_platform_bus_probe() times
>>> >  >  with different of_device_id struct's.
>> >
>> >  Nothing comes to mind... Grant ?
> Neither for me.  Should work.

I posted a work-around patch here:

http://patchwork.ozlabs.org/patch/128533/

Without this patch, drivers cannot probe on DMA *channels*, or any other 
grandchildren of the root node.

-- 
Timur Tabi
Linux kernel developer at Freescale


More information about the Linuxppc-dev mailing list