From: Jonathan Marek Date: Thu, 11 Feb 2021 03:49:35 +0000 (-0500) Subject: regulator: qcom-rpmh: fix pm8009 ldo7 X-Git-Tag: accepted/tizen/unified/20230118.172025~7818^2~1^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=20ccc362c3d20da734af896e075b74222589f2c0;p=platform%2Fkernel%2Flinux-rpi.git 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 Reviewed-by: Vinod Koul Link: https://lore.kernel.org/r/20210211034935.5622-1-jonathan@marek.ca Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/qcom-rpmh-regulator.c b/drivers/regulator/qcom-rpmh-regulator.c index c395a8d..38dae48 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"), {}, };