aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/olpc/olpc-ec.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2021-01-26 08:37:40 +0100
committerHans de Goede <hdegoede@redhat.com>2021-02-02 20:51:32 +0100
commitfa707a580e77765b968925e4135f8d8c887eb38b (patch)
tree71cad75e1d1c62c02c1ff267da7d0743c83f7269 /drivers/platform/olpc/olpc-ec.c
parentPlatform: OLPC: Remove dcon_rdev from olpc_ec_priv (diff)
downloadlinux-dev-fa707a580e77765b968925e4135f8d8c887eb38b.tar.xz
linux-dev-fa707a580e77765b968925e4135f8d8c887eb38b.zip
Platform: OLPC: Specify the enable time
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>
Diffstat (limited to 'drivers/platform/olpc/olpc-ec.c')
-rw-r--r--drivers/platform/olpc/olpc-ec.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/platform/olpc/olpc-ec.c b/drivers/platform/olpc/olpc-ec.c
index 3c852d573e9b..72dbbea0005c 100644
--- a/drivers/platform/olpc/olpc-ec.c
+++ b/drivers/platform/olpc/olpc-ec.c
@@ -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)