[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20200326174154.32723-1-saravanak@google.com>
Date: Thu, 26 Mar 2020 10:41:54 -0700
From: Saravana Kannan <saravanak@...gle.com>
To: Daniel Lezcano <daniel.lezcano@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>
Cc: Saravana Kannan <saravanak@...gle.com>, kernel-team@...roid.com,
linux-kernel@...r.kernel.org
Subject: [PATCH v1] Revert "clocksource: Avoid creating dead devices"
This reverts commit 4f41fe386a94639cd9a1831298d4f85db5662f1e.
The commit cause stability issues in platforms where one device tree
node is handled by more than one driver. So, let's revert it for now and
try again later.
Signed-off-by: Saravana Kannan <saravanak@...gle.com>
---
drivers/clocksource/timer-probe.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/clocksource/timer-probe.c b/drivers/clocksource/timer-probe.c
index a10f28d750a9..ee9574da53c0 100644
--- a/drivers/clocksource/timer-probe.c
+++ b/drivers/clocksource/timer-probe.c
@@ -27,10 +27,8 @@ void __init timer_probe(void)
init_func_ret = match->data;
- of_node_set_flag(np, OF_POPULATED);
ret = init_func_ret(np);
if (ret) {
- of_node_clear_flag(np, OF_POPULATED);
if (ret != -EPROBE_DEFER)
pr_err("Failed to initialize '%pOF': %d\n", np,
ret);
--
2.25.1.696.g5e7596f4ac-goog
Powered by blists - more mailing lists