usb: chipidea: imx: properly check for usbmisc
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 6 Aug 2015 13:09:54 +0000 (15:09 +0200)
committerPeter Chen <peter.chen@freescale.com>
Fri, 14 Aug 2015 01:13:13 +0000 (09:13 +0800)
commitef12da914ed696745b495bea22aea137e88cffb6
tree42e8385c0436cd868fa4f5963bb9ce9d9b67fee5
parentbc24937943d9f71a1e32b5dc4e2f0ef8fcc07b64
usb: chipidea: imx: properly check for usbmisc

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 due to
async probing or on-demand probing of dependencies.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
drivers/usb/chipidea/ci_hdrc_imx.c
This page took 0.042179 seconds and 5 git commands to generate.