]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
regulator: qcom-rpmh: Fix index for pmh0101 ldo16
authorFenglin Wu <fenglin.wu@oss.qualcomm.com>
Wed, 6 May 2026 09:28:51 +0000 (02:28 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 6 May 2026 12:26:30 +0000 (21:26 +0900)
commit628497e6d925d43efb56e3ffecef0a9d217926b3
treedf2ba7c35d1214eceb7037034844b19224a98b76
parent7fd2df204f342fc17d1a0bfcd474b24232fb0f32
regulator: qcom-rpmh: Fix index for pmh0101 ldo16

The wrong index is assigned to pmh0101 ldo16, which results incorrect
rpmh resource being used when the regulator device is voted. Fix it.

Fixes: 65efe5404d15 ("regulator: rpmh-regulator: Add RPMH regulator support for Glymur")
Signed-off-by: Fenglin Wu <fenglin.wu@oss.qualcomm.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://patch.msgid.link/20260506-fix_pmh0101_ldo16_index-v1-1-cdc8708b01f4@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/qcom-rpmh-regulator.c