aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/rk808-regulator.c
diff options
context:
space:
mode:
authorWadim Egorov <w.egorov@phytec.de>2017-03-22 16:50:50 +0100
committerMark Brown <broonie@kernel.org>2017-03-24 18:47:21 +0000
commit75f88115391156b3f0fecbbae76bf870c89bcab8 (patch)
treeb07fe84f4d30fcf4b47341307fd4db99f3c9772e /drivers/regulator/rk808-regulator.c
parentMerge remote-tracking branches 'regulator/topic/tps65086' and 'regulator/topic/twl' into regulator-next (diff)
downloadlinux-dev-75f88115391156b3f0fecbbae76bf870c89bcab8.tar.xz
linux-dev-75f88115391156b3f0fecbbae76bf870c89bcab8.zip
regulator: rk808: Fix RK818 LDO2
Set the correct voltage select register for LDO2. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Mark Brown <broonie@kernel.org> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/regulator/rk808-regulator.c')
-rw-r--r--drivers/regulator/rk808-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c
index 3314bf299a51..dfa8d50a5d74 100644
--- a/drivers/regulator/rk808-regulator.c
+++ b/drivers/regulator/rk808-regulator.c
@@ -520,7 +520,7 @@ static const struct regulator_desc rk818_reg[] = {
RK818_LDO1_ON_VSEL_REG, RK818_LDO_VSEL_MASK, RK818_LDO_EN_REG,
BIT(0), 400),
RK8XX_DESC(RK818_ID_LDO2, "LDO_REG2", "vcc6", 1800, 3400, 100,
- RK818_LDO1_ON_VSEL_REG, RK818_LDO_VSEL_MASK, RK818_LDO_EN_REG,
+ RK818_LDO2_ON_VSEL_REG, RK818_LDO_VSEL_MASK, RK818_LDO_EN_REG,
BIT(1), 400),
{
.name = "LDO_REG3",