regulator: Ensure enough delay time for enabling regulator
authorAxel Lin <axel.lin@gmail.com>
Fri, 5 Nov 2010 13:51:32 +0000 (21:51 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Tue, 30 Nov 2010 15:13:25 +0000 (15:13 +0000)
commite36c1df8e18183ba2c691fe766a52c94020cdc5e
tree59196f9c9d1dbd1dcfc6aeef73f5dd84b35ceb15
parentaa7a74040a989eeb7a9265550a2538863e842a93
regulator: Ensure enough delay time for enabling regulator

Integer division will truncate the result, this patch ensures we have
enough delay time for enabling regulator.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/core.c