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)
commit6f1aa1ed98e6f6347f997afe5dea0c36c97d94cc
tree739a3a1543c88c9077f2ecda316cf59cd6b3e59b
parentfee15b567fb42522e066ca465ab5dd7bc41f477a
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