From: Rhyland Klein <rklein@nvidia.com>
To: cbouatmailru@gmail.com
Cc: bleung@google.com, olof@lixom.net, linux-kernel@vger.kernel.org,
Rhyland Klein <rklein@nvidia.com>
Subject: [PATCH 2/2] power: bq20z75: enable detection after registering
Date: Thu, 19 May 2011 16:00:04 -0700 [thread overview]
Message-ID: <1305846004-11895-2-git-send-email-rklein@nvidia.com> (raw)
In-Reply-To: <1305846004-11895-1-git-send-email-rklein@nvidia.com>
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>
---
drivers/power/bq20z75.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/drivers/power/bq20z75.c b/drivers/power/bq20z75.c
index 9c5e5be..e1adc0e 100644
--- a/drivers/power/bq20z75.c
+++ b/drivers/power/bq20z75.c
@@ -702,8 +702,6 @@ skip_gpio:
INIT_DELAYED_WORK(&bq20z75_device->work, bq20z75_delayed_work);
- bq20z75_device->enable_detection = true;
-
return 0;
exit_psupply:
--
1.7.5.1
next prev parent reply other threads:[~2011-05-19 23:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-19 23:00 [PATCH 1/2] power: bq20z75: support external notification Rhyland Klein
2011-05-19 23:00 ` Rhyland Klein [this message]
2011-05-24 18:58 ` Anton Vorontsov
2011-05-24 18:58 ` Rhyland Klein
-- strict thread matches above, loose matches on Subject: below --
2011-05-24 19:05 [PATCH 1/2 v2] " 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
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=1305846004-11895-2-git-send-email-rklein@nvidia.com \
--to=rklein@nvidia.com \
--cc=bleung@google.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox