Loading drivers/power/supply/qcom/qpnp-smb5.c +2 −0 Original line number Diff line number Diff line Loading @@ -1367,6 +1367,8 @@ static int smb5_batt_get_prop(struct power_supply *psy, case POWER_SUPPLY_PROP_CURRENT_NOW: rc = smblib_get_prop_from_bms(chg, POWER_SUPPLY_PROP_CURRENT_NOW, val); if (!rc) val->intval *= (-1); break; case POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX: val->intval = get_client_vote(chg->fcc_votable, Loading Loading
drivers/power/supply/qcom/qpnp-smb5.c +2 −0 Original line number Diff line number Diff line Loading @@ -1367,6 +1367,8 @@ static int smb5_batt_get_prop(struct power_supply *psy, case POWER_SUPPLY_PROP_CURRENT_NOW: rc = smblib_get_prop_from_bms(chg, POWER_SUPPLY_PROP_CURRENT_NOW, val); if (!rc) val->intval *= (-1); break; case POWER_SUPPLY_PROP_CONSTANT_CHARGE_CURRENT_MAX: val->intval = get_client_vote(chg->fcc_votable, Loading