twl-regulator: Add turnon delay to reg_enable
authorJuha Keski-Saari <ext-juha.1.keski-saari@nokia.com>
Wed, 16 Dec 2009 12:55:26 +0000 (14:55 +0200)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 17 Dec 2009 10:27:29 +0000 (10:27 +0000)
commit53b8a9d92a713fa82316bf418dcc19d6da32ca05
tree739a3a1543c88c9077f2ecda316cf59cd6b3e59b
parent30010fa52c7bd466b441e3f9020ba4cf6154fa41
twl-regulator: Add turnon delay to reg_enable

This change implements a basic turnon delay in the regulator enable function
to make it less probable that reg_enable returns before the regulator
output is at target level

Signed-off-by: Juha Keski-Saari <ext-juha.1.keski-saari@nokia.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/twl-regulator.c