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

Commit b285f709 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "power: qpnp-smbcharger: unsuspend dc path during init"

parents a6446c81 054f074f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5975,6 +5975,12 @@ static int smbchg_hw_init(struct smbchg_chip *chip)
			return rc;
		}
	}
	/* unsuspend dc path, it could be suspended by the bootloader */
	rc = smbchg_dc_suspend(chip, 0);
	if (rc < 0) {
		dev_err(chip->dev, "Couldn't unspended dc path= %d\n", rc);
		return rc;
	}

	if (chip->force_aicl_rerun)
		rc = smbchg_aicl_config(chip);