git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a702e
)
bq27x00_battery: Fix flag reading for bq27742
author
Puthikorn Voravootivat
<puthik@chromium.org>
Tue, 30 Sep 2014 18:18:56 +0000
(11:18 -0700)
committer
Sebastian Reichel
<sre@kernel.org>
Wed, 1 Oct 2014 02:10:50 +0000
(
04:10
+0200)
This patch fix the following issues.
- Flag for bq27742 is 2 bytes contracy to 1 byte for older hardware
- Don't read FLAG_CI as bq27742 does not have it
- Use Battery full capacity register as last measure discharge
Signed-off-by: Puthikorn Voravootivat <puthik@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/bq27x00_battery.c
patch
|
blob
|
history
diff --cc
drivers/power/bq27x00_battery.c
Simple merge