From: Axel Lin Date: Wed, 10 Jun 2015 10:52:11 +0000 (+0800) Subject: regulator: max8973: Fix up ramp_delay for MAX8973_RAMP_25mV_PER_US case X-Git-Tag: firefly_0821_release~176^2~1598^2~1^6 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=366604ec0d7f5d16438090615a4b72c5be402c1b;p=firefly-linux-kernel-4.4.55.git regulator: max8973: Fix up ramp_delay for MAX8973_RAMP_25mV_PER_US case Fix trivial typo. Signed-off-by: Axel Lin Reviewed-by: Laxman Dewangan Signed-off-by: Mark Brown --- 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;