diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2021-01-26 08:37:40 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-02-02 20:51:32 +0100 |
commit | fa707a580e77765b968925e4135f8d8c887eb38b (patch) | |
tree | 71cad75e1d1c62c02c1ff267da7d0743c83f7269 /drivers/platform/olpc | |
parent | 23f8b0a154630ab5e8f6ba09560ef46b8c8b77a4 (diff) | |
download | linux-fa707a580e77765b968925e4135f8d8c887eb38b.tar.gz linux-fa707a580e77765b968925e4135f8d8c887eb38b.tar.bz2 linux-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')
-rw-r--r-- | drivers/platform/olpc/olpc-ec.c | 11 |
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) |