summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVince Hsu <vinceh@nvidia.com>2013-12-26 13:48:47 -0800
committerMark Brown <broonie@linaro.org>2014-01-06 18:09:39 +0000
commitfb04f1b0c0731467190d7953cf7cf1105698a666 (patch)
tree91d8b93834f91ed8d605d93a742de65b95fc0026
parent762a8ee808972354ce4bca988309aa7fb63ed5ae (diff)
downloadlinux-stable-fb04f1b0c0731467190d7953cf7cf1105698a666.tar.gz
linux-stable-fb04f1b0c0731467190d7953cf7cf1105698a666.tar.bz2
linux-stable-fb04f1b0c0731467190d7953cf7cf1105698a666.zip
regulator: as3722: set enable time for SD0/1/6
Add an enable time of 600us for SD0/1/6 to ensure that we have enough setup time for the power rail. Signed-off-by: Vince Hsu <vinceh@nvidia.com> Signed-off-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--drivers/regulator/as3722-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/as3722-regulator.c b/drivers/regulator/as3722-regulator.c
index 3d7fbc21181d..5c84ff4c38a2 100644
--- a/drivers/regulator/as3722-regulator.c
+++ b/drivers/regulator/as3722-regulator.c
@@ -845,6 +845,7 @@ static int as3722_regulator_probe(struct platform_device *pdev)
}
as3722_regs->desc[id].uV_step = 10000;
as3722_regs->desc[id].linear_min_sel = 1;
+ as3722_regs->desc[id].enable_time = 600;
break;
case AS3722_REGULATOR_ID_SD2:
case AS3722_REGULATOR_ID_SD3: