projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edd7042
)
rk30:phone: the bug of charge_display
author
许盛飞
<xsf@rock-chips.com>
Mon, 9 Jul 2012 12:01:42 +0000
(20:01 +0800)
committer
许盛飞
<xsf@rock-chips.com>
Mon, 9 Jul 2012 12:01:42 +0000
(20:01 +0800)
drivers/power/twl6030_bci_battery.c
[changed mode: 0755->0644]
patch
|
blob
|
history
diff --git
a/drivers/power/twl6030_bci_battery.c
b/drivers/power/twl6030_bci_battery.c
old mode 100755
(executable)
new mode 100644
(file)
index
788fd98
..
7deb26c
--- a/
drivers/power/twl6030_bci_battery.c
+++ b/
drivers/power/twl6030_bci_battery.c
@@
-2066,7
+2066,7
@@
static int twl6030_bk_bci_battery_get_property(struct power_supply *psy,
union power_supply_propval *val)
{
struct twl6030_bci_device_info *di = to_twl6030_bk_bci_device_info(psy);
-
+ val->intval = 0;
switch (psp) {
case POWER_SUPPLY_PROP_VOLTAGE_NOW:
val->intval = di->bk_voltage_mV * 1000;