From: Anton Vorontsov <cbouatmailru@gmail.com>
To: Rhyland Klein <rklein@nvidia.com>
Cc: bleung@chromium.org, olof@lixom.net, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2 v2] power: bq20z75: support external notification
Date: Tue, 24 May 2011 23:18:58 +0400 [thread overview]
Message-ID: <20110524191858.GA17373@oksana.dev.rtsoft.ru> (raw)
In-Reply-To: <1306263960-1236-1-git-send-email-rklein@nvidia.com>
On Tue, May 24, 2011 at 12:05:59PM -0700, Rhyland Klein wrote:
> Adding support for external power change notification. One problem found
> is that there is a lag time before the sensor will return a new status. To
> ensure that we only fire off the power_supply_changed event when the status
> returned from the sensor is actually different, we delay sending the
> the notification, and instead poll on it looking for a change. The amount
> of time to poll is configurable via platform data.
>
> Signed-off-by: Rhyland Klein <rklein@nvidia.com>
> ---
> v2: removed the line enabling detection as it was not meant to be
> part of this patch.
1/2 and 2/2 applied, thanks!
--
Anton Vorontsov
Email: cbouatmailru@gmail.com
prev parent reply other threads:[~2011-05-24 19:19 UTC|newest]
Thread overview: 4+ 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
2011-05-24 19:18 ` Anton Vorontsov [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=20110524191858.GA17373@oksana.dev.rtsoft.ru \
--to=cbouatmailru@gmail.com \
--cc=bleung@chromium.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olof@lixom.net \
--cc=rklein@nvidia.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.