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

Commit 5a286aae authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: qcom_smd: Set n_voltages for pm8941_lnldo



Just setting fixed_uV is not enough, the regulator core will also check
n_voltages setting. The fixed_uV only works when n_voltages is 1.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Reviewed-by: default avatarBjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent da65e367
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -203,6 +203,7 @@ static const struct regulator_desc pm8941_nldo = {

static const struct regulator_desc pm8941_lnldo = {
	.fixed_uV = 1740000,
	.n_voltages = 1,
	.ops = &rpm_smps_ldo_ops,
};