regulator: as3722: set enable time for SD0/1/6
authorVince Hsu <vinceh@nvidia.com>
Thu, 26 Dec 2013 21:48:47 +0000 (13:48 -0800)
committerMark Brown <broonie@linaro.org>
Mon, 6 Jan 2014 18:09:39 +0000 (18:09 +0000)
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>
drivers/regulator/as3722-regulator.c

index 3d7fbc21181dafd398a85a772a6765af44790ebb..5c84ff4c38a2f0a70a596851d028b4825fbbc772 100644 (file)
@@ -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: