regulator: Ensure enough enable time for max8649
authorAxel Lin <axel.lin@gmail.com>
Tue, 2 Aug 2011 04:54:56 +0000 (12:54 +0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 8 Aug 2011 16:15:08 +0000 (17:15 +0100)
Integer division may truncate the result, thus max8649_enable_time() may return
slightly shorter enable time. This patch fixes it.

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>

No differences found