summaryrefslogtreecommitdiff
path: root/drivers/regulator/palmas-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/palmas-regulator.c')
-rw-r--r--drivers/regulator/palmas-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c
index af7beddc74bf..1b00d8488ef2 100644
--- a/drivers/regulator/palmas-regulator.c
+++ b/drivers/regulator/palmas-regulator.c
@@ -590,7 +590,7 @@ static int palmas_is_enabled_smps10(struct regulator_dev *dev)
if (EXT_PWR_REQ & pmic->roof_floor[id])
return true;
- ret = palmas_smps_read(pmic->palmas, PALMAS_SMPS10_STATUS, &reg);
+ ret = palmas_smps_read(pmic->palmas, PALMAS_SMPS10_CTRL, &reg);
if (ret < 0) {
dev_err(pmic->palmas->dev,
"Error in reading smps10 status reg\n");