All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org,
	Mike Rapoport <mike@compulab.co.il>,
	Paul Gortmaker <paul.gortmaker@windriver.com>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Haojian Zhuang <haojian.zhuang@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] ARM: pxa: propagate errors from regulator_enable() to pxamci
Date: Fri, 05 Jul 2013 16:53:42 +0100	[thread overview]
Message-ID: <8638rt3svt.fsf@void.printf.net> (raw)
In-Reply-To: <201307051751.20729.arnd@arndb.de> (Arnd Bergmann's message of "Fri, 5 Jul 2013 17:51:20 +0200")

Hi,

On Fri, Jul 05 2013, Arnd Bergmann wrote:
> The em_x270_mci_setpower() and em_x270_usb_hub_init() functions
> call regulator_enable(), which may return an error that must
> be checked.
>
> This changes the em_x270_usb_hub_init() function to bail out
> if it fails, and changes the pxamci_platform_data->setpower
> callback so that the a failed em_x270_mci_setpower call
> can be propagated by the pxamci driver into the mmc core.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

For pxamci:

Acked-by: Chris Ball <cjb@laptop.org>

Thanks,

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>

WARNING: multiple messages have this Message-ID (diff)
From: cjb@laptop.org (Chris Ball)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: pxa: propagate errors from regulator_enable() to pxamci
Date: Fri, 05 Jul 2013 16:53:42 +0100	[thread overview]
Message-ID: <8638rt3svt.fsf@void.printf.net> (raw)
In-Reply-To: <201307051751.20729.arnd@arndb.de> (Arnd Bergmann's message of "Fri, 5 Jul 2013 17:51:20 +0200")

Hi,

On Fri, Jul 05 2013, Arnd Bergmann wrote:
> The em_x270_mci_setpower() and em_x270_usb_hub_init() functions
> call regulator_enable(), which may return an error that must
> be checked.
>
> This changes the em_x270_usb_hub_init() function to bail out
> if it fails, and changes the pxamci_platform_data->setpower
> callback so that the a failed em_x270_mci_setpower call
> can be propagated by the pxamci driver into the mmc core.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

For pxamci:

Acked-by: Chris Ball <cjb@laptop.org>

Thanks,

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>

  reply	other threads:[~2013-07-05 15:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-05 15:51 [PATCH] ARM: pxa: propagate errors from regulator_enable() to pxamci Arnd Bergmann
2013-07-05 15:51 ` Arnd Bergmann
2013-07-05 15:53 ` Chris Ball [this message]
2013-07-05 15:53   ` Chris Ball
2013-07-23 19:15   ` Olof Johansson
2013-07-23 19:15     ` Olof Johansson
2013-07-08  4:35 ` Sachin Kamat
2013-07-08  4:35   ` Sachin Kamat
2013-07-08 17:42 ` Hein Tibosch
  -- strict thread matches above, loose matches on Subject: below --
2013-05-31 20:41 Arnd Bergmann
2013-05-31 20:48 ` Arnd Bergmann

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=8638rt3svt.fsf@void.printf.net \
    --to=cjb@laptop.org \
    --cc=arnd@arndb.de \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=haojian.zhuang@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=mike@compulab.co.il \
    --cc=paul.gortmaker@windriver.com \
    /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.