From: 许盛飞 Date: Mon, 9 Jul 2012 12:01:42 +0000 (+0800) Subject: rk30:phone: the bug of charge_display X-Git-Tag: firefly_0821_release~9023 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a823ab919a492bcc2fb6b3ca05daec48a0515e47;p=firefly-linux-kernel-4.4.55.git rk30:phone: the bug of charge_display --- diff --git a/drivers/power/twl6030_bci_battery.c b/drivers/power/twl6030_bci_battery.c old mode 100755 new mode 100644 index 788fd982ac98..7deb26c04a43 --- 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;