Re: [PATCH] clk: probe common clock drivers earlier

From: Geert Uytterhoeven
Date: Wed Jul 20 2016 - 06:58:26 EST


On Sat, Jul 16, 2016 at 6:57 AM, Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
> 2016-07-16 11:11 GMT+09:00 Michael Turquette <mturquette@xxxxxxxxxxxx>:
>> Quoting Masahiro Yamada (2016-05-05 00:57:17)
>>> Several SoCs implement platform drivers for clocks rather than
>>> CLK_OF_DECLARE(). Clocks should come earlier because they are
>>> prerequisites for many of other drivers. It will help to mitigate

As are regulators, DMA engines, power domains, ..., but the actual ordering
needed depends on the SoC.

>>> EPROBE_DEFER issues.
>>>
>>> Also, drop the comment since it does not look valuable.
>>>
>>> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
>>
>> Acked-by: Michael Turquette <mturquette@xxxxxxxxxxxx>
>
> Thanks for taking a look at this patch.
>
> While I was wondering where is the best place for
> "obj-y += clk/", I thought it can be probed even earlier.
>
> So, v2 is here:
> https://patchwork.kernel.org/patch/9129749/
>
> Please consider it as a applicable candidate.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds