Loading drivers/power/qpnp-smbcharger.c +2 −1 Original line number Diff line number Diff line Loading @@ -1845,6 +1845,7 @@ static int smbchg_set_fastchg_current_raw(struct smbchg_chip *chip, return rc; } #define ESR_PULSE_CURRENT_DELTA_MA 200 static int smbchg_set_fastchg_current(struct smbchg_chip *chip, int current_ma) { Loading @@ -1852,7 +1853,7 @@ static int smbchg_set_fastchg_current(struct smbchg_chip *chip, mutex_lock(&chip->fcc_lock); if (chip->sw_esr_pulse_en) current_ma = 300; current_ma -= ESR_PULSE_CURRENT_DELTA_MA; /* If the requested FCC is same, do not configure it again */ if (current_ma == chip->fastchg_current_ma) { pr_smb(PR_STATUS, "not configuring FCC current: %d FCC: %d\n", Loading Loading
drivers/power/qpnp-smbcharger.c +2 −1 Original line number Diff line number Diff line Loading @@ -1845,6 +1845,7 @@ static int smbchg_set_fastchg_current_raw(struct smbchg_chip *chip, return rc; } #define ESR_PULSE_CURRENT_DELTA_MA 200 static int smbchg_set_fastchg_current(struct smbchg_chip *chip, int current_ma) { Loading @@ -1852,7 +1853,7 @@ static int smbchg_set_fastchg_current(struct smbchg_chip *chip, mutex_lock(&chip->fcc_lock); if (chip->sw_esr_pulse_en) current_ma = 300; current_ma -= ESR_PULSE_CURRENT_DELTA_MA; /* If the requested FCC is same, do not configure it again */ if (current_ma == chip->fastchg_current_ma) { pr_smb(PR_STATUS, "not configuring FCC current: %d FCC: %d\n", Loading