From: Frieder Schrempf <frieder.schre...@kontron.de>

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 <frieder.schre...@kontron.de>
---
 drivers/power/regulator/pca9450.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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),
 };
-- 
2.50.1

Reply via email to