projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f8ae2
)
regulator: palmas: Fix regmap offsets for PALMAS_REG_SMPS10 vsel_reg
author
Axel Lin
<axel.lin@gmail.com>
Wed, 18 Jul 2012 04:31:03 +0000
(12:31 +0800)
committer
Mark Brown
<broonie@opensource.wolfsonmicro.com>
Tue, 7 Aug 2012 17:10:25 +0000
(18:10 +0100)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/palmas-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/palmas-regulator.c
b/drivers/regulator/palmas-regulator.c
index
0fcf355
..
9e3e7f3
100644
(file)
--- a/
drivers/regulator/palmas-regulator.c
+++ b/
drivers/regulator/palmas-regulator.c
@@
-679,7
+679,9
@@
static __devinit int palmas_probe(struct platform_device *pdev)
case PALMAS_REG_SMPS10:
pmic->desc[id].n_voltages = PALMAS_SMPS10_NUM_VOLTAGES;
pmic->desc[id].ops = &palmas_ops_smps10;
- pmic->desc[id].vsel_reg = PALMAS_SMPS10_CTRL;
+ pmic->desc[id].vsel_reg =
+ PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE,
+ PALMAS_SMPS10_CTRL);
pmic->desc[id].vsel_mask = SMPS10_VSEL;
pmic->desc[id].enable_reg =
PALMAS_BASE_TO_REG(PALMAS_SMPS_BASE,