mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Paul Cercueil <paul@crapouillou.net>
To: Linus Walleij <linus.walleij@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>
Cc: od@zcrc.me, linux-gpio@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Paul Cercueil <paul@crapouillou.net>
Subject: [PATCH v2 2/8] pinctrl: ingenic: Probe driver at subsys_initcall
Date: Tue, 21 Aug 2018 18:42:30 +0200	[thread overview]
Message-ID: <20180821164236.21101-3-paul@crapouillou.net> (raw)
In-Reply-To: <20180821164236.21101-1-paul@crapouillou.net>

Using postcore_initcall() makes the driver try to initialize way too
early.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
---

Notes:
    v2: No change

 drivers/pinctrl/pinctrl-ingenic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/pinctrl-ingenic.c b/drivers/pinctrl/pinctrl-ingenic.c
index 6a1b6058b991..4bceae88d056 100644
--- a/drivers/pinctrl/pinctrl-ingenic.c
+++ b/drivers/pinctrl/pinctrl-ingenic.c
@@ -847,4 +847,4 @@ static int __init ingenic_pinctrl_drv_register(void)
 {
 	return platform_driver_register(&ingenic_pinctrl_driver);
 }
-postcore_initcall(ingenic_pinctrl_drv_register);
+subsys_initcall(ingenic_pinctrl_drv_register);
-- 
2.11.0


  parent reply	other threads:[~2018-08-21 16:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-21 16:42 [PATCH v2 0/8] pinctrl-ingenic GPIO merge + JZ4725B Paul Cercueil
2018-08-21 16:42 ` [PATCH v2 1/8] dt-bindings: pinctrl: Update pinctrl-ingenic for JZ4725B and GPIO merge Paul Cercueil
2018-08-29  0:32   ` Rob Herring
2018-08-21 16:42 ` Paul Cercueil [this message]
2018-08-21 16:42 ` [PATCH v2 3/8] pinctrl: ingenic: Mark probe function as __init Paul Cercueil
2018-08-21 16:42 ` [PATCH v2 4/8] pinctrl: ingenic: Merge GPIO functionality Paul Cercueil
2018-08-21 16:42 ` [PATCH v2 5/8] pinctrl: ingenic: Implement .get_direction for GPIO chips Paul Cercueil
2018-08-21 16:42 ` [PATCH v2 6/8] pinctrl: ingenic: Add support for the JZ4725B Paul Cercueil
2018-08-21 16:42 ` [PATCH v2 7/8] pinctrl: ingenic: Drop dependency on MACH_INGENIC Paul Cercueil
2018-08-21 16:42 ` [PATCH v2 8/8] gpio: ingenic: Remove driver Paul Cercueil
2018-08-29 11:42 ` [PATCH v2 0/8] pinctrl-ingenic GPIO merge + JZ4725B Linus Walleij

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180821164236.21101-3-paul@crapouillou.net \
    --to=paul@crapouillou.net \
    --cc=devicetree@vger.kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=od@zcrc.me \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®