Re: [PATCH] usb: xhci-plat: properly handle probe deferral for devm_clk_get()

2016-04-22 Thread Thomas Petazzoni
Hello, On Fri, 22 Apr 2016 16:44:11 +0300, Heikki Krogerus wrote: > if (!IS_ERR(clk)) { > ... > } else if (PTR_ERR(clk) == -EPROBE_DEFER) > ret = -EPROBE_DEFER; > goto put_hcd; > ... Thanks for the review! I've just sent a v2 that

Re: [PATCH] usb: xhci-plat: properly handle probe deferral for devm_clk_get()

2016-04-22 Thread Heikki Krogerus
Hi, One nitpick.. On Fri, Apr 22, 2016 at 03:16:45PM +0200, Thomas Petazzoni wrote: > On some platforms, the clocks might be registered by a platform > driver. When this is the case, the clock platform driver may very well > be probed after xhci-plat, in which case the first probe() invocation >

[PATCH] usb: xhci-plat: properly handle probe deferral for devm_clk_get()

2016-04-22 Thread Thomas Petazzoni
On some platforms, the clocks might be registered by a platform driver. When this is the case, the clock platform driver may very well be probed after xhci-plat, in which case the first probe() invocation of xhci-plat will receive -EPROBE_DEFER as the return value of devm_clk_get(). The current