All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rhyland Klein <rklein@nvidia.com>
To: "cbouatmailru@gmail.com" <cbouatmailru@gmail.com>
Cc: "bleung@chromium.org" <bleung@chromium.org>,
	"olof@lixom.net" <olof@lixom.net>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] power: bq20z75: enable detection after registering
Date: Tue, 24 May 2011 12:07:33 -0700	[thread overview]
Message-ID: <1306264053.31129.5.camel@rklein-linux2> (raw)
In-Reply-To: <1306263960-1236-2-git-send-email-rklein@nvidia.com>

On Tue, 2011-05-24 at 12:06 -0700, Rhyland Klein wrote:
> Need to enable detection, which is also blocking the unit conversion logic
> after registering the power_supply.
> 
> Signed-off-by: Rhyland Klein <rklein@nvidia.com>
> ---
> v2:	This should have been adding the line, not removing it. Fixed that.
> 
>  drivers/power/bq20z75.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/power/bq20z75.c b/drivers/power/bq20z75.c
> index e1adc0e..9c5e5be 100644
> --- a/drivers/power/bq20z75.c
> +++ b/drivers/power/bq20z75.c
> @@ -702,6 +702,8 @@ skip_gpio:
>  
>  	INIT_DELAYED_WORK(&bq20z75_device->work, bq20z75_delayed_work);
>  
> +	bq20z75_device->enable_detection = true;
> +
>  	return 0;
>  
>  exit_psupply:

ignore this patch, sent updated patch with proper version tag in
subject.

-rhyland



  reply	other threads:[~2011-05-24 19:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-24 19:05 [PATCH 1/2 v2] power: bq20z75: support external notification Rhyland Klein
2011-05-24 19:06 ` [PATCH 2/2] power: bq20z75: enable detection after registering Rhyland Klein
2011-05-24 19:07   ` Rhyland Klein [this message]
2011-05-24 19:18 ` [PATCH 1/2 v2] power: bq20z75: support external notification Anton Vorontsov
  -- strict thread matches above, loose matches on Subject: below --
2011-05-19 23:00 [PATCH 1/2] " Rhyland Klein
2011-05-19 23:00 ` [PATCH 2/2] power: bq20z75: enable detection after registering Rhyland Klein

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=1306264053.31129.5.camel@rklein-linux2 \
    --to=rklein@nvidia.com \
    --cc=bleung@chromium.org \
    --cc=cbouatmailru@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=olof@lixom.net \
    /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.