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

Commit c76edd52 authored by Alim Akhtar's avatar Alim Akhtar Committed by Mark Brown
Browse files

regulator: s2mps11: fix incorrect register for buck10



For BUCK10 the control registers are wrongly set as buck9 control register
This patch corrects the control registers for buck10

Signed-off-by: default avatarAlim Akhtar <alim.akhtar@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@vger.kernel.org
parent 949db153
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -174,9 +174,9 @@ static struct regulator_ops s2mps11_buck_ops = {
	.min_uV		= S2MPS11_BUCK_MIN2,			\
	.min_uV		= S2MPS11_BUCK_MIN2,			\
	.uV_step	= S2MPS11_BUCK_STEP2,			\
	.uV_step	= S2MPS11_BUCK_STEP2,			\
	.n_voltages	= S2MPS11_BUCK_N_VOLTAGES,		\
	.n_voltages	= S2MPS11_BUCK_N_VOLTAGES,		\
	.vsel_reg	= S2MPS11_REG_B9CTRL2,			\
	.vsel_reg	= S2MPS11_REG_B10CTRL2,			\
	.vsel_mask	= S2MPS11_BUCK_VSEL_MASK,		\
	.vsel_mask	= S2MPS11_BUCK_VSEL_MASK,		\
	.enable_reg	= S2MPS11_REG_B9CTRL1,			\
	.enable_reg	= S2MPS11_REG_B10CTRL1,			\
	.enable_mask	= S2MPS11_ENABLE_MASK			\
	.enable_mask	= S2MPS11_ENABLE_MASK			\
}
}