[PATCH] pinctrl: mediatek: convert to arch_initcall

Linus Walleij linus.walleij at linaro.org
Tue Dec 22 07:11:47 PST 2015


On Tue, Dec 22, 2015 at 2:46 PM, Daniel Kurtz <djkurtz at chromium.org> wrote:

> Move pinctrl initialization earlier in boot so that real devices can find
> their pctldev without probe deferring.
(...)
> -module_init(mtk_pinctrl_init);
> +arch_initcall(mtk_pinctrl_init);

So I see why you're doing this (because of wanting to avoid nasty boot
probe deferrals, right?) and I'm going to apply it, because the work
with probe ordering is still in the works, but I'd like some general
ARM people to come in with opinions.

Yours,
Linus Walleij



More information about the Linux-mediatek mailing list