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

Commit 51cbdc0e authored by Kiran Gunda's avatar Kiran Gunda
Browse files

regulator: qpnp-lcdb: Fix compilation error



Address of a variable is used instead of using the variable
itself. Fix it.

Change-Id: I215e8d1f527755900f45367145def2bb7d6b82b1
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 3364ad12
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2022,7 +2022,7 @@ static int qpnp_lcdb_init_bst(struct qpnp_lcdb *lcdb)
		if (lcdb->bst.ps != -EINVAL) {
			rc = qpnp_lcdb_masked_write(lcdb, lcdb->base +
					LCDB_PS_CTL_REG, EN_PS_BIT,
					&lcdb->bst.ps ? EN_PS_BIT : 0);
					lcdb->bst.ps ? EN_PS_BIT : 0);
			if (rc < 0) {
				pr_err("Failed to disable BST PS rc=%d", rc);
				return rc;