On Tue, Aug 08, 2017 at 08:56:14AM -0300, Fabio Estevam wrote:
> Hi Sakari,
> 
> On Tue, Aug 8, 2017 at 8:24 AM, Sakari Ailus <sakari.ai...@iki.fi> wrote:
> 
> > I don't think -EPROBE_DEFER is returned by clk_get() if the clock can't be
> > found. The clock providers often are e.g. ISP drivers that may well be
> 
> Yes, it is.
> 
> Please check:
> 
> commit a34cd4666f3da84228a82f70c94b8d9b692034ea
> Author: Jean-Francois Moine <moin...@free.fr>
> Date:   Mon Nov 25 19:47:04 2013 +0100
> 
>     clk: return probe defer when DT clock not yet ready
> 
>     At probe time, a clock device may not be ready when some other device
>     wants to use it.
> 
>     This patch lets the functions clk_get/devm_clk_get return a probe defer
>     when the clock is defined in the DT but not yet available.

Nice! I'll apply both then.

Thanks!

-- 
Sakari Ailus
e-mail: sakari.ai...@iki.fi     XMPP: sai...@retiisi.org.uk

Reply via email to