projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d645d59
)
regulator: 88pm8607: Update update_bit for BUCK2 in pm8607_set_voltage_sel
author
Axel Lin
<axel.lin@ingics.com>
Mon, 24 Dec 2012 01:13:38 +0000
(09:13 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Thu, 27 Dec 2012 17:28:22 +0000
(17:28 +0000)
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>
drivers/regulator/88pm8607.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/88pm8607.c
b/drivers/regulator/88pm8607.c
index 2b557119adad4b11d63ec345c96b425183e691f3..5c4879a3554056dbb9fd0da10beafdfa1b8ecac0 100644
(file)
--- 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)
return ret;
switch (info->desc.id) {
case PM8607_ID_BUCK1:
+ case PM8607_ID_BUCK2:
case PM8607_ID_BUCK3:
ret = pm860x_set_bits(info->i2c, info->update_reg,
1 << info->update_bit,