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

Commit f5a8dbc5 authored by Kiran Gunda's avatar Kiran Gunda
Browse files

regulator: lcdb: Correct the typo in pull down strength programming



There is a typo in programming the BST_PD_CTL value. Due to
this NCP_PD_STRENGTH register is programmed instead of the
BST_PD_STRENGTH. Fix it.

Change-Id: If630056f77194d3fdfa30b7c1ddd61f74da04cff
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 192e3703
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1826,7 +1826,7 @@ static int qpnp_lcdb_init_bst(struct qpnp_lcdb *lcdb)

		if (lcdb->bst.pd_strength != -EINVAL) {
			rc = qpnp_lcdb_masked_write(lcdb, lcdb->base +
				LCDB_NCP_PD_CTL_REG, BOOST_PD_STRENGTH_BIT,
				LCDB_BST_PD_CTL_REG, BOOST_PD_STRENGTH_BIT,
				lcdb->bst.pd_strength ?
				BOOST_PD_STRENGTH_BIT : 0);
			if (rc < 0) {