projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ddafa
)
bq20z75: Enable detection after registering
author
Rhyland Klein
<rklein@nvidia.com>
Tue, 24 May 2011 19:06:50 +0000
(12:06 -0700)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Fri, 8 Jul 2011 12:53:07 +0000
(16:53 +0400)
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>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/bq20z75.c
patch
|
blob
|
history
diff --git
a/drivers/power/bq20z75.c
b/drivers/power/bq20z75.c
index e1adc0e027ac6da6bd4c9b4ac82224d72e430c15..9c5e5beda3a8e34a50dcdc6f960f2e830ca099f7 100644
(file)
--- 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: