projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bdd1c6
)
regulator: sy7636a: Remove the poll_enable_time
author
Alistair Francis
<alistair@alistair23.me>
Tue, 3 Aug 2021 08:44:52 +0000
(18:44 +1000)
committer
Mark Brown
<broonie@kernel.org>
Tue, 3 Aug 2021 17:27:20 +0000
(18:27 +0100)
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>
drivers/regulator/sy7636a-regulator.c
patch
|
blob
|
history
diff --git
a/drivers/regulator/sy7636a-regulator.c
b/drivers/regulator/sy7636a-regulator.c
index e021ae08cbaa4d216688e077eade6866ece1ff70..c3b34cac8c7f6c44eb913bfb96c161645e4c33d7 100644
(file)
--- 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"),
};