regulator: max8997: Fix setting inappropriate value for ramp_delay variable
authorDonggeun Kim <dg77.kim@samsung.com>
Thu, 7 Jul 2011 07:51:56 +0000 (16:51 +0900)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Fri, 8 Jul 2011 18:14:58 +0000 (19:14 +0100)
commit6ff325a2d85481cbe31dfbb74b4fd2d94c115300
tree73cc33527b32147a874d6912843be44070434e54
parent90609503b71b6ec4aaf325c88de98da28740bc1d
regulator: max8997: Fix setting inappropriate value for ramp_delay variable

The ramp_delay variable can be set lower than the desired value.
This patch fixes it.

Signed-off-by: Donggeun Kim <dg77.kim@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: KyungMin Park <kyungmin.park@samsung.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/max8997.c