summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlim Akhtar <alim.akhtar@samsung.com>2013-01-30 08:02:27 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-02-14 10:47:59 -0800
commit9ba54b84e8d588c6403275ed3835820e04ff4cf5 (patch)
treedd1349a16633c9c93151071800d8e6f6b4bab69b /drivers
parent7e027c2b4a655e7864f3d8e99e7bff6c5c518c0a (diff)
regulator: s2mps11: fix incorrect register for buck10
commit c76edd52bf19c9d01da7edc4ff04d3707c299779 upstream. For BUCK10 the control registers are wrongly set as buck9 control register This patch corrects the control registers for buck10 Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/s2mps11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c
index 3fd1b889d579..d6e4e1c0bb48 100644
--- a/drivers/regulator/s2mps11.c
+++ b/drivers/regulator/s2mps11.c
@@ -174,9 +174,9 @@ static struct regulator_ops s2mps11_buck_ops = {
.min_uV = S2MPS11_BUCK_MIN2, \
.uV_step = S2MPS11_BUCK_STEP2, \
.n_voltages = S2MPS11_BUCK_N_VOLTAGES, \
- .vsel_reg = S2MPS11_REG_B9CTRL2, \
+ .vsel_reg = S2MPS11_REG_B10CTRL2, \
.vsel_mask = S2MPS11_BUCK_VSEL_MASK, \
- .enable_reg = S2MPS11_REG_B9CTRL1, \
+ .enable_reg = S2MPS11_REG_B10CTRL1, \
.enable_mask = S2MPS11_ENABLE_MASK \
}