diff options
author | Vinod Koul <vkoul@kernel.org> | 2019-08-09 10:36:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-09 15:27:41 +0300 |
commit | 553c452d6093d66e7617ed6c68cc93547d07075f (patch) | |
tree | c803cd9db2eb7d13adb1bff2a725d5e4632d9275 /drivers/regulator/qcom-rpmh-regulator.c | |
parent | 7172fb7f3abea4787ca01dda7297241c4b0f0af5 (diff) | |
download | linux-553c452d6093d66e7617ed6c68cc93547d07075f.tar.xz |
regulator: qcom-rpmh: Fix pmic5_bob voltage count
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>
Diffstat (limited to 'drivers/regulator/qcom-rpmh-regulator.c')
-rw-r--r-- | drivers/regulator/qcom-rpmh-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index 0ef2716da3bd..391ed844a251 100644 --- 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 = 135, + .n_voltages = 136, .pmic_mode_map = pmic_mode_map_pmic4_bob, .of_map_mode = rpmh_regulator_pmic4_bob_of_map_mode, }; |