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

Commit 43e5493d authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy Committed by Jeykumar Sankaran
Browse files

regulator: qpnp-labibb-regulator: fix the base address usage



There is a bug in qpnp_lab_dt_init where the wrong base address is
used (ibb_base instead of lab_base). This causes a probe failure
in the driver because ibb_base is not available yet. Fix it.

Change-Id: I66e4c50a82f076e5582b5df0dbd18ead392dcff3
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent cd75705a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -792,7 +792,7 @@ static int qpnp_lab_dt_init(struct qpnp_labibb *labibb,
	if (labibb->mode != QPNP_LABIBB_STANDALONE_MODE) {
		val = LAB_MODULE_RDY_EN;

		rc = qpnp_labibb_write(labibb, labibb->ibb_base +
		rc = qpnp_labibb_write(labibb, labibb->lab_base +
			REG_LAB_MODULE_RDY, &val, 1);

		if (rc) {