linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: eric.y.miao@gmail.com (Eric Miao)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] pxa/magician: bq24022 regulator needs to be enabled
Date: Wed, 20 Apr 2011 21:48:19 +0800	[thread overview]
Message-ID: <BANLkTim33CVj7YRatMSYC5dbzPr+QQgvCA@mail.gmail.com> (raw)
In-Reply-To: <1303306891.2703.3.camel@flow>

On Wed, Apr 20, 2011 at 9:41 PM, Philipp Zabel <philipp.zabel@gmail.com> wrote:
> Add REGULATOR_CHANGE_STATUS flag to magician bq24022 regulator to enable charging.
>
> Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>

Applied to 'fix'. Thanks.

> ---
> ?arch/arm/mach-pxa/magician.c | ? ?2 +-
> ?1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c
> index a72993d..9984ef7 100644
> --- a/arch/arm/mach-pxa/magician.c
> +++ b/arch/arm/mach-pxa/magician.c
> @@ -599,7 +599,7 @@ static struct regulator_consumer_supply bq24022_consumers[] = {
> ?static struct regulator_init_data bq24022_init_data = {
> ? ? ? ?.constraints = {
> ? ? ? ? ? ? ? ?.max_uA ? ? ? ? = 500000,
> - ? ? ? ? ? ? ? .valid_ops_mask = REGULATOR_CHANGE_CURRENT,
> + ? ? ? ? ? ? ? .valid_ops_mask = REGULATOR_CHANGE_CURRENT | REGULATOR_CHANGE_STATUS,
> ? ? ? ?},
> ? ? ? ?.num_consumer_supplies ?= ARRAY_SIZE(bq24022_consumers),
> ? ? ? ?.consumer_supplies ? ? ?= bq24022_consumers,
> --
> 1.7.4.4
>
>
>

      reply	other threads:[~2011-04-20 13:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-15 14:39 [PATCH] pxa/hx4700: bq24022 regulator needs to be enabled Paul Parsons
2011-04-19  8:40 ` Dmitry Artamonow
2011-04-19 10:25   ` Eric Miao
2011-04-19 11:32   ` Dmitry Artamonow
2011-04-19 13:03     ` Eric Miao
2011-04-20 13:40       ` Philipp Zabel
2011-04-20 13:41       ` [PATCH] pxa/magician: " Philipp Zabel
2011-04-20 13:48         ` Eric Miao [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=BANLkTim33CVj7YRatMSYC5dbzPr+QQgvCA@mail.gmail.com \
    --to=eric.y.miao@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).