Loading drivers/power/supply/qcom/qpnp-qg.c +1 −1 Original line number Diff line number Diff line Loading @@ -2680,7 +2680,7 @@ static int qg_determine_pon_soc(struct qpnp_qg *chip) goto done; } if ((full_soc - cutoff_soc) > 0 && (pon_soc - cutoff_soc) > 0) if ((full_soc > cutoff_soc) && (pon_soc > cutoff_soc)) soc = DIV_ROUND_UP(((pon_soc - cutoff_soc) * 100), (full_soc - cutoff_soc)); else Loading Loading
drivers/power/supply/qcom/qpnp-qg.c +1 −1 Original line number Diff line number Diff line Loading @@ -2680,7 +2680,7 @@ static int qg_determine_pon_soc(struct qpnp_qg *chip) goto done; } if ((full_soc - cutoff_soc) > 0 && (pon_soc - cutoff_soc) > 0) if ((full_soc > cutoff_soc) && (pon_soc > cutoff_soc)) soc = DIV_ROUND_UP(((pon_soc - cutoff_soc) * 100), (full_soc - cutoff_soc)); else Loading