rk30☎️ the bug of charge_display

This commit is contained in:
许盛飞
2012-07-09 20:01:42 +08:00
parent edd704202a
commit a823ab919a

2
drivers/power/twl6030_bci_battery.c Executable file → Normal file
View File

@@ -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;