Re: [PATCH 1/3] mfd: omap-usb-host: Use regular platform device probe mechanism

2018-09-11 Thread Laurent Pinchart
On Tuesday, 11 September 2018 18:53:19 EEST Ladislav Michl wrote: > On Tue, Sep 11, 2018 at 06:06:08PM +0300, Laurent Pinchart wrote: > > The omap-usb-host driver uses platform_driver_probe() in the fs initcall > > level to ensure that the devices get probed before the EHCI and OHCI > > drivers

Re: [PATCH 1/3] mfd: omap-usb-host: Use regular platform device probe mechanism

2018-09-11 Thread Ladislav Michl
On Tue, Sep 11, 2018 at 06:06:08PM +0300, Laurent Pinchart wrote: > The omap-usb-host driver uses platform_driver_probe() in the fs initcall > level to ensure that the devices get probed before the EHCI and OHCI > drivers arer probed. > > The EHCI and OHCI devices are created and registered by

Re: [PATCH 1/3] mfd: omap-usb-host: Use regular platform device probe mechanism

2018-09-11 Thread Tony Lindgren
* Laurent Pinchart [180911 15:10]: > --- a/drivers/mfd/omap-usb-host.c > +++ b/drivers/mfd/omap-usb-host.c > @@ -855,31 +856,14 @@ static struct platform_driver usbhs_omap_driver = { > .pm = _dev_pm_ops, > .of_match_table = usbhs_omap_dt_ids, > }, > +

[PATCH 1/3] mfd: omap-usb-host: Use regular platform device probe mechanism

2018-09-11 Thread Laurent Pinchart
The omap-usb-host driver uses platform_driver_probe() in the fs initcall level to ensure that the devices get probed before the EHCI and OHCI drivers arer probed. The EHCI and OHCI devices are created and registered by the omap-usb-host driver, and if no driver is present yet to handle them they