Platform: OLPC: Specify the enable time
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 26 Jan 2021 07:37:40 +0000 (08:37 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 2 Feb 2021 19:51:32 +0000 (20:51 +0100)
Determined empirically.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20210126073740.10232-4-lkundrak@v3.sk
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/olpc/olpc-ec.c

index 3c852d5..72dbbea 100644 (file)
@@ -393,11 +393,12 @@ static struct regulator_ops dcon_regulator_ops = {
 };
 
 static const struct regulator_desc dcon_desc = {
-       .name   = "dcon",
-       .id     = 0,
-       .ops    = &dcon_regulator_ops,
-       .type   = REGULATOR_VOLTAGE,
-       .owner  = THIS_MODULE,
+       .name           = "dcon",
+       .id             = 0,
+       .ops            = &dcon_regulator_ops,
+       .type           = REGULATOR_VOLTAGE,
+       .owner          = THIS_MODULE,
+       .enable_time    = 25000,
 };
 
 static int olpc_ec_probe(struct platform_device *pdev)