projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
olpc-battery: update CHARGE_FULL_DESIGN property for BYD LiFe batteries
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
power
/
olpc_battery.c
diff --git
a/drivers/power/olpc_battery.c
b/drivers/power/olpc_battery.c
index 1630add1a6deb0cb1c180e43bcf4b891dce86ad3..55b10b81335384f203c3fb91304a86679b93f868 100644
(file)
--- a/
drivers/power/olpc_battery.c
+++ b/
drivers/power/olpc_battery.c
@@
-231,11
+231,9
@@
static int olpc_bat_get_charge_full_design(union power_supply_propval *val)
case POWER_SUPPLY_TECHNOLOGY_LiFe:
switch (mfr) {
- case 1: /* Gold Peak */
- val->intval = 2800000;
- break;
+ case 1: /* Gold Peak, fall through */
case 2: /* BYD */
- val->intval =
31
00000;
+ val->intval =
28
00000;
break;
default:
return -EIO;