projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7172fb7
)
regulator: qcom-rpmh: Fix pmic5_bob voltage count
author
Vinod Koul
<vkoul@kernel.org>
Fri, 9 Aug 2019 07:36:15 +0000
(13:06 +0530)
committer
Mark Brown
<broonie@kernel.org>
Fri, 9 Aug 2019 12:27:41 +0000
(13:27 +0100)
pmic5_bob voltages count is 136 [0,135] so update it
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Link:
https://lore.kernel.org/r/20190809073616.1235-3-vkoul@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom-rpmh-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/qcom-rpmh-regulator.c
b/drivers/regulator/qcom-rpmh-regulator.c
index 0ef2716da3bd4bcc1dae956785c9fad3d7fbd556..391ed844a251c911f811736a6e06ab596f32013a 100644
(file)
--- a/
drivers/regulator/qcom-rpmh-regulator.c
+++ b/
drivers/regulator/qcom-rpmh-regulator.c
@@
-698,7
+698,7
@@
static const struct rpmh_vreg_hw_data pmic5_bob = {
.regulator_type = VRM,
.ops = &rpmh_regulator_vrm_bypass_ops,
.voltage_range = REGULATOR_LINEAR_RANGE(300000, 0, 135, 32000),
- .n_voltages = 13
5
,
+ .n_voltages = 13
6
,
.pmic_mode_map = pmic_mode_map_pmic4_bob,
.of_map_mode = rpmh_regulator_pmic4_bob_of_map_mode,
};