aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/88pm8607.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2012-12-23 20:13:38 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-27 12:28:22 -0500
commitadbf7eabb6816eb3fe5d2ee0b8ec1d0b518a92df (patch)
tree56b638576064b97b118e2b174eb117f9904462ad /drivers/regulator/88pm8607.c
parentd645d591588c18f0ad61e292939ee743e43067f2 (diff)
regulator: 88pm8607: Update update_bit for BUCK2 in pm8607_set_voltage_sel
BUCK2 has the update_bit setting, but current code does not set update_bit in pm8607_set_voltage_sel. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator/88pm8607.c')
-rw-r--r--drivers/regulator/88pm8607.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c
index 2b557119adad..5c4879a35540 100644
--- a/drivers/regulator/88pm8607.c
+++ b/drivers/regulator/88pm8607.c
@@ -236,6 +236,7 @@ static int pm8607_set_voltage_sel(struct regulator_dev *rdev, unsigned selector)
236 return ret; 236 return ret;
237 switch (info->desc.id) { 237 switch (info->desc.id) {
238 case PM8607_ID_BUCK1: 238 case PM8607_ID_BUCK1:
239 case PM8607_ID_BUCK2:
239 case PM8607_ID_BUCK3: 240 case PM8607_ID_BUCK3:
240 ret = pm860x_set_bits(info->i2c, info->update_reg, 241 ret = pm860x_set_bits(info->i2c, info->update_reg,
241 1 << info->update_bit, 242 1 << info->update_bit,