Re: [PATCH] clk: probe common clock drivers earlier
From: Masahiro Yamada
Date: Wed Jul 20 2016 - 21:00:07 EST
2016-07-20 19:58 GMT+09:00 Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>:
> 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.
The *mitigate* is a keyword in my git-log.
I am not saying this commit can completely suppress EPROBE_DEFER,
but moving "obj-y += clk/" up is
a right thing for *most* of SoCs.