summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrieder Schrempf <[email protected]>2025-08-11 15:11:58 +0200
committerPeng Fan <[email protected]>2025-09-01 10:33:05 +0800
commit8a04fbd9afd635d37c9afc1b56d014d134861e29 (patch)
treede4d52aff5ab24ec2d0a63c850aec49942986fb5
parentb7360bd9e8e05dcfd1b4e5fd1c996aabf919e180 (diff)
pmic: pca9450: Fix enable register for LDO5
The LDO5 regulator has two configuration registers, but only LDO5CTRL_L contains the bits for enabling/disabling the regulator. This is equivalent to the following change in Linux: f5aab0438ef1 ("regulator: pca9450: Fix enable register for LDO5") Fixes: 326337fb005f ("pmic: pca9450: Add regulator driver") Signed-off-by: Frieder Schrempf <[email protected]> Signed-off-by: Peng Fan <[email protected]>
-rw-r--r--drivers/power/regulator/pca9450.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/regulator/pca9450.c b/drivers/power/regulator/pca9450.c
index a2a34244723..27db55e688d 100644
--- a/drivers/power/regulator/pca9450.c
+++ b/drivers/power/regulator/pca9450.c
@@ -144,7 +144,7 @@ static struct pca9450_plat pca9450_reg_data[] = {
PCA_DATA("LDO4", PCA9450_LDO4CTRL, HW_STATE_CONTROL,
PCA9450_LDO4CTRL, PCA9450_LDO34_MASK,
pca9450_ldo34_vranges),
- PCA_DATA("LDO5", PCA9450_LDO5CTRL_H, HW_STATE_CONTROL,
+ PCA_DATA("LDO5", PCA9450_LDO5CTRL_L, HW_STATE_CONTROL,
PCA9450_LDO5CTRL_H, PCA9450_LDO5_MASK,
pca9450_ldo5_vranges),
};