Skip to content

Commit

Permalink
regulator: sy7636a: Remove the poll_enable_time
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alistair Francis authored and Mark Brown committed Aug 3, 2021
1 parent 6bdd1c6 commit e5dad32
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/regulator/sy7636a-regulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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"),
};
Expand Down

0 comments on commit e5dad32

Please sign in to comment.