Re: [PATCH] usb: chipidea: imx: properly check for usbmisc

2015-08-06 Thread Peter Chen
On Fri, Aug 07, 2015 at 10:11:47AM +0800, Peter Chen wrote: > On Thu, Aug 06, 2015 at 03:09:54PM +0200, Tomeu Vizoso wrote: > > If usbmisc hasn't probed yet, defer the probe. > > > > It's not enough to check if the platform device for the OF node of the > > usbmisc has been registered, but it

Re: [PATCH] usb: chipidea: imx: properly check for usbmisc

2015-08-06 Thread Peter Chen
On Thu, Aug 06, 2015 at 03:09:54PM +0200, Tomeu Vizoso wrote: > If usbmisc hasn't probed yet, defer the probe. > > It's not enough to check if the platform device for the OF node of the > usbmisc has been registered, but it also needs to have been probed > already before we can call

[PATCH] usb: chipidea: imx: properly check for usbmisc

2015-08-06 Thread Tomeu Vizoso
If usbmisc hasn't probed yet, defer the probe. It's not enough to check if the platform device for the OF node of the usbmisc has been registered, but it also needs to have been probed already before we can call imx_usbmisc_init(). This can happen if the order in which devices are probed change

Re: [PATCH] usb: chipidea: imx: properly check for usbmisc

2015-08-06 Thread Peter Chen
On Thu, Aug 06, 2015 at 03:09:54PM +0200, Tomeu Vizoso wrote: If usbmisc hasn't probed yet, defer the probe. It's not enough to check if the platform device for the OF node of the usbmisc has been registered, but it also needs to have been probed already before we can call

Re: [PATCH] usb: chipidea: imx: properly check for usbmisc

2015-08-06 Thread Peter Chen
On Fri, Aug 07, 2015 at 10:11:47AM +0800, Peter Chen wrote: On Thu, Aug 06, 2015 at 03:09:54PM +0200, Tomeu Vizoso wrote: If usbmisc hasn't probed yet, defer the probe. It's not enough to check if the platform device for the OF node of the usbmisc has been registered, but it also needs

[PATCH] usb: chipidea: imx: properly check for usbmisc

2015-08-06 Thread Tomeu Vizoso
If usbmisc hasn't probed yet, defer the probe. It's not enough to check if the platform device for the OF node of the usbmisc has been registered, but it also needs to have been probed already before we can call imx_usbmisc_init(). This can happen if the order in which devices are probed change