Re: [PATCH 1/2] [media] ov7670: Return the real error code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.ailus@xxxxxx> 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 <moinejf@xxxxxxx>
> 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.ailus@xxxxxx	XMPP: sailus@xxxxxxxxxxxxxx



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux