summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorHenry Chen <henryc.chen@mediatek.com>2015-08-03 22:15:51 +0800
committerMark Brown <broonie@kernel.org>2015-08-03 17:03:20 +0100
commit53e381627d34c4c7a3ea00c041c38f447828f755 (patch)
treedc955e48c700d455fe53e160f66b4a8c9ce4d556 /drivers/regulator
parent8766018b6ef73ca124d13b0d0a06dec906726cc8 (diff)
regulator: mt6311: Modify the maximum voltage of buck.
The maximum voltage of buck should be 1.39375V. 1.39375V = 0.6V + 0.00625V * 127, 127 is the max_sel of linear range. Reported-by: Axel Lin <axel.lin@ingics.com> signed-off-by: Henry Chen <henryc.chen@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/mt6311-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/mt6311-regulator.c b/drivers/regulator/mt6311-regulator.c
index 096e6202be1c..b140da04a657 100644
--- a/drivers/regulator/mt6311-regulator.c
+++ b/drivers/regulator/mt6311-regulator.c
@@ -34,7 +34,7 @@ static const struct regmap_config mt6311_regmap_config = {
/* Default limits measured in millivolts and milliamps */
#define MT6311_MIN_UV 600000
-#define MT6311_MAX_UV 1400000
+#define MT6311_MAX_UV 1393750
#define MT6311_STEP_UV 6250
static const struct regulator_linear_range buck_volt_range[] = {