Loading drivers/power/qpnp-linear-charger.c +4 −1 Original line number Diff line number Diff line Loading @@ -881,7 +881,10 @@ static int get_prop_capacity(struct qpnp_lbc_chip *chip) return DEFAULT_CAPACITY; if (chip->bms_psy) { chip->bms_psy->get_property(chip->bms_psy, POWER_SUPPLY_PROP_CAPACITY, &ret); mutex_lock(&chip->chg_enable_lock); if (chip->chg_done) chip->bms_psy->get_property(chip->bms_psy, POWER_SUPPLY_PROP_CAPACITY, &ret); battery_status = get_prop_batt_status(chip); Loading Loading
drivers/power/qpnp-linear-charger.c +4 −1 Original line number Diff line number Diff line Loading @@ -881,7 +881,10 @@ static int get_prop_capacity(struct qpnp_lbc_chip *chip) return DEFAULT_CAPACITY; if (chip->bms_psy) { chip->bms_psy->get_property(chip->bms_psy, POWER_SUPPLY_PROP_CAPACITY, &ret); mutex_lock(&chip->chg_enable_lock); if (chip->chg_done) chip->bms_psy->get_property(chip->bms_psy, POWER_SUPPLY_PROP_CAPACITY, &ret); battery_status = get_prop_batt_status(chip); Loading