summaryrefslogtreecommitdiff
path: root/drivers/regulator/pca9450-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/pca9450-regulator.c')
-rw-r--r--drivers/regulator/pca9450-regulator.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/regulator/pca9450-regulator.c b/drivers/regulator/pca9450-regulator.c
index 6b9ce8f34e0e..442faa078e3a 100644
--- a/drivers/regulator/pca9450-regulator.c
+++ b/drivers/regulator/pca9450-regulator.c
@@ -594,6 +594,12 @@ static int pca9450_buck123_dvs_init(struct pca9450_pmic *pmic)
}
}
}
+ /* clear the preset enable bit as we use PCA9450_BUCKxOUT_DVSy regs */
+ ret = pca9450_clear_bits(pca9450, PCA9450_BUCK123_DVS, \
+ BUCK123_PRESET_EN);
+ if (ret < 0)
+ return ret;
+
return 0;
}