From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH] pinctrl: mediatek: convert to arch_initcall Date: Tue, 22 Dec 2015 16:11:47 +0100 Message-ID: References: <1450792017-7120-1-git-send-email-djkurtz@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-oi0-f54.google.com ([209.85.218.54]:35570 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752061AbbLVPLs (ORCPT ); Tue, 22 Dec 2015 10:11:48 -0500 Received: by mail-oi0-f54.google.com with SMTP id l9so80899636oia.2 for ; Tue, 22 Dec 2015 07:11:48 -0800 (PST) In-Reply-To: <1450792017-7120-1-git-send-email-djkurtz@chromium.org> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Daniel Kurtz , Grant Likely , Mark Brown , "linux-arm-kernel@lists.infradead.org" Cc: Matthias Brugger , Yingjoe Chen , Hongzhou Yang , Fabio Estevam , Fabian Frederick , Maoguang Meng , Axel Lin , "open list:PIN CONTROL SUBSYSTEM" , open list , "moderated list:ARM/Mediatek SoC support" On Tue, Dec 22, 2015 at 2:46 PM, Daniel Kurtz 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