]> git.karo-electronics.de Git - linux-beck.git/commit
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)
commite69c499790a35ef5ad164fd99f0b691e138640da
tree430db4c82bb3c500c90596a1985d39040f09f8a4
parent99cd25ce10249c7f9d7172fe2ed266b023cd3323
regulator: Ensure enough enable time for max8649

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>
drivers/regulator/max8649.c