summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-06-10 18:52:11 +0800
committerMark Brown <broonie@kernel.org>2015-06-10 18:29:04 +0100
commit366604ec0d7f5d16438090615a4b72c5be402c1b (patch)
tree86e23d2f78439b6524bbac733631e153a4c388a2
parent0f7d6ece6363f315b3b830dc19e6732537719224 (diff)
downloadlinux-366604ec0d7f5d16438090615a4b72c5be402c1b.tar.bz2
regulator: max8973: Fix up ramp_delay for MAX8973_RAMP_25mV_PER_US case
Fix trivial typo. Signed-off-by: Axel Lin <axel.lin@ingics.com> Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--drivers/regulator/max8973-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/max8973-regulator.c b/drivers/regulator/max8973-regulator.c
index 89e53e049399..6f2bdad8b4d8 100644
--- a/drivers/regulator/max8973-regulator.c
+++ b/drivers/regulator/max8973-regulator.c
@@ -312,7 +312,7 @@ static int max8973_init_dcdc(struct max8973_chip *max,
max->desc.ramp_delay = 12000;
break;
case MAX8973_RAMP_25mV_PER_US:
- max->desc.ramp_delay = 252000;
+ max->desc.ramp_delay = 25000;
break;
case MAX8973_RAMP_50mV_PER_US:
max->desc.ramp_delay = 50000;