Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c99ef445 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: qpnp-smbcharger: Fix VHIGH_RANGE_FLOAT_MIN_MV value



Currently VHIGH_RANGE_FLOAT_MIN_MV is wrongly set to 4400. Fix
that by correcting it to 4360.

CRs-Fixed: 738774
Change-Id: Iebbc5c2b32de1909283b947e7d84f690cdf06f18
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent c3e072e1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1994,8 +1994,8 @@ static void smbchg_external_power_changed(struct power_supply *psy)
#define HIGH_RANGE_FLOAT_MIN_VAL	0x2A
#define HIGH_RANGE_FLOAT_STEP_MV	10

#define VHIGH_RANGE_FLOAT_MIN_MV	4400
#define VHIGH_RANGE_FLOAT_MIN_VAL	0x2E
#define VHIGH_RANGE_FLOAT_MIN_MV	4360
#define VHIGH_RANGE_FLOAT_MIN_VAL	0x2C
#define VHIGH_RANGE_FLOAT_STEP_MV	20
static int smbchg_float_voltage_set(struct smbchg_chip *chip, int vfloat_mv)
{