Re: issues calling of_platform_bus_probe() twice
From: Benjamin Herrenschmidt <hidden>
Date: 2012-03-17 23:29:33
On Sat, 2012-03-17 at 13:35 +0000, Tabi Timur-B04825 wrote:
quoted
quoted
quoted
quoted
> Are you aware of any reason that we can't callof_platform_bus_probe()quoted
quoted
quoted
quoted
> or multiple times. Timur's run into an issue in which alldevicesquoted
quoted
quoted
quoted
> don't get registered properly if we callof_platform_bus_probe() timesquoted
quoted
quoted
quoted
> 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.
Why don't you track down the actual bug instead ? Cheers, Ben.