All of lore.kernel.org
 help / color / mirror / Atom feed
From: broonie@opensource.wolfsonmicro.com (Mark Brown)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] pinctrl: implement pinctrl deferred probing
Date: Thu, 12 Apr 2012 18:09:24 +0100	[thread overview]
Message-ID: <20120412170924.GA18049@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1334133248-1452-1-git-send-email-linus.walleij@stericsson.com>

On Wed, Apr 11, 2012 at 10:34:08AM +0200, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij@linaro.org>
> 
> If drivers try to obtain pinctrl handles for a pin controller that
> has not yet registered to the subsystem, we need to be able to
> back out and retry with deferred probing. So let's return
> -EPROBE_DEFER whenever this location fails. Also downgrade the
> errors to info, maybe we will even set them to debug once the
> deferred probing is commonplace.

Reviwed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Note that the probe deferral code already has info level logs every time
it does anything so you'll probably have a hint from that when it kicks
into action.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120412/6687be35/attachment.sig>

WARNING: multiple messages have this Message-ID (diff)
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Linus Walleij <linus.walleij@stericsson.com>
Cc: linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Stephen Warren <swarren@nvidia.com>,
	Shawn Guo <shawn.guo@freescale.com>,
	Thomas Abraham <thomas.abraham@linaro.org>,
	Dong Aisheng <dong.aisheng@linaro.org>,
	Rajendra Nayak <rajendra.nayak@linaro.org>,
	Haojian Zhuang <haojian.zhuang@marvell.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Arnd Bergmann <arnd@arndb.de>
Subject: Re: [PATCH v2] pinctrl: implement pinctrl deferred probing
Date: Thu, 12 Apr 2012 18:09:24 +0100	[thread overview]
Message-ID: <20120412170924.GA18049@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <1334133248-1452-1-git-send-email-linus.walleij@stericsson.com>

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

On Wed, Apr 11, 2012 at 10:34:08AM +0200, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij@linaro.org>
> 
> If drivers try to obtain pinctrl handles for a pin controller that
> has not yet registered to the subsystem, we need to be able to
> back out and retry with deferred probing. So let's return
> -EPROBE_DEFER whenever this location fails. Also downgrade the
> errors to info, maybe we will even set them to debug once the
> deferred probing is commonplace.

Reviwed-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Note that the probe deferral code already has info level logs every time
it does anything so you'll probably have a hint from that when it kicks
into action.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

  parent reply	other threads:[~2012-04-12 17:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-11  8:34 [PATCH v2] pinctrl: implement pinctrl deferred probing Linus Walleij
2012-04-11  8:34 ` Linus Walleij
2012-04-11 15:43 ` Stephen Warren
2012-04-11 15:43   ` Stephen Warren
2012-04-12 17:09 ` Mark Brown [this message]
2012-04-12 17:09   ` Mark Brown
2012-04-12 17:34   ` Linus Walleij
2012-04-12 17:34     ` 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=20120412170924.GA18049@opensource.wolfsonmicro.com \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=linux-arm-kernel@lists.infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.