summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/qcom-rpmh-regulator.c
diff options
context:
space:
mode:
authorJonathan Marek <jonathan@marek.ca>2021-02-11 04:49:35 +0100
committerMark Brown <broonie@kernel.org>2021-02-11 14:04:50 +0100
commit20ccc362c3d20da734af896e075b74222589f2c0 (patch)
tree49a90f4bfc84bce17192754b7d1df15d0e69c493 /drivers/regulator/qcom-rpmh-regulator.c
parentregulator: pf8x00: Fix typo for PF8200 chip name (diff)
downloadlinux-20ccc362c3d20da734af896e075b74222589f2c0.tar.xz
linux-20ccc362c3d20da734af896e075b74222589f2c0.zip
regulator: qcom-rpmh: fix pm8009 ldo7
Use the correct name to avoid ldo7 commands being sent to ldo6's address. Fixes: 06369bcc15a1 ("regulator: qcom-rpmh: Add support for SM8150") Signed-off-by: Jonathan Marek <jonathan@marek.ca> Reviewed-by: Vinod Koul <vkoul@kernel.org> Link: https://lore.kernel.org/r/20210211034935.5622-1-jonathan@marek.ca Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r--drivers/regulator/qcom-rpmh-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c
index c395a8dda6f7..38dae4813f3b 100644
--- a/drivers/regulator/qcom-rpmh-regulator.c
+++ b/drivers/regulator/qcom-rpmh-regulator.c
@@ -928,7 +928,7 @@ static const struct rpmh_vreg_init_data pm8009_vreg_data[] = {
RPMH_VREG("ldo4", "ldo%s4", &pmic5_nldo, "vdd-l4"),
RPMH_VREG("ldo5", "ldo%s5", &pmic5_pldo, "vdd-l5-l6"),
RPMH_VREG("ldo6", "ldo%s6", &pmic5_pldo, "vdd-l5-l6"),
- RPMH_VREG("ldo7", "ldo%s6", &pmic5_pldo_lv, "vdd-l7"),
+ RPMH_VREG("ldo7", "ldo%s7", &pmic5_pldo_lv, "vdd-l7"),
{},
};