mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Roland Stigge <stigge@antcom.de>
Cc: Grant Likely <grant.likely@secretlab.ca>,
	arm@kernel.org, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linus.walleij@stericsson.com
Subject: Re: [PATCH] gpio: Device tree support for LPC32xx
Date: Wed, 4 Apr 2012 12:13:24 +0100	[thread overview]
Message-ID: <20120404111323.GA9457@sirena.org.uk> (raw)
In-Reply-To: <4F7B8A39.5000701@antcom.de>

On Wed, Apr 04, 2012 at 01:39:37AM +0200, Roland Stigge wrote:
> On 03/04/12 17:04, Grant Likely wrote:

> >> +postcore_initcall(lpc32xx_gpio_init);

> ===============================================================
> Error requesting gpio 50
> ...
> gpiochip_add: registered GPIOs 0 to 7 on device: gpio_p0

> Are you sure that module_platform_driver() can already handle
> this in v3.4-rc1?

For the present moment it needs explicit handling in each GPIO user to
translate a failure to get a GPIO into -EPROBE_DEFER.  I sent a patch
which would change the default return code for failed GPIO lookups to
that which should get most users doing the right thing but I've had no
response to that patch so far so it's not in any tree.

      parent reply	other threads:[~2012-04-04 11:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-02 22:58 Roland Stigge
2012-04-03  8:29 ` Arnd Bergmann
2012-04-03  9:13   ` Roland Stigge
2012-04-03 15:04 ` Grant Likely
2012-04-03 23:39   ` Roland Stigge
2012-04-03 23:52     ` Roland Stigge
2012-04-04 11:13     ` Mark Brown [this message]

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=20120404111323.GA9457@sirena.org.uk \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=arm@kernel.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linus.walleij@stericsson.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stigge@antcom.de \
    /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®