summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAlistair Francis <alistair@alistair23.me>2021-08-03 18:44:52 +1000
committerMark Brown <broonie@kernel.org>2021-08-03 18:27:20 +0100
commite5dad32d90e0e9b006f5c330e92fa0ec9042ae79 (patch)
tree25c47f14fa2e7579b0c5cc2701df514760137f12 /drivers/regulator
parent6bdd1c672a2afbcd1a6d50dc2351ef4ea0bbfc61 (diff)
downloadlinux-e5dad32d90e0e9b006f5c330e92fa0ec9042ae79.tar.bz2
regulator: sy7636a: Remove the poll_enable_time
From testing on hardware the poll_enable_time isn't required and sometimes causes the driver probe to fail so let's remove it. Signed-off-by: Alistair Francis <alistair@alistair23.me> Link: https://lore.kernel.org/r/20210803084456.198-5-alistair@alistair23.me Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/sy7636a-regulator.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/regulator/sy7636a-regulator.c b/drivers/regulator/sy7636a-regulator.c
index e021ae08cbaa..c3b34cac8c7f 100644
--- a/drivers/regulator/sy7636a-regulator.c
+++ b/drivers/regulator/sy7636a-regulator.c
@@ -13,8 +13,6 @@
#include <linux/gpio/consumer.h>
#include <linux/mfd/sy7636a.h>
-#define SY7636A_POLL_ENABLED_TIME 500
-
static int sy7636a_get_vcom_voltage_op(struct regulator_dev *rdev)
{
int ret;
@@ -61,7 +59,6 @@ static const struct regulator_desc desc = {
.owner = THIS_MODULE,
.enable_reg = SY7636A_REG_OPERATION_MODE_CRL,
.enable_mask = SY7636A_OPERATION_MODE_CRL_ONOFF,
- .poll_enabled_time = SY7636A_POLL_ENABLED_TIME,
.regulators_node = of_match_ptr("regulators"),
.of_match = of_match_ptr("vcom"),
};