lkml.org 
[lkml]   [2020]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
Subject[PATCH v1] Revert "clocksource: Avoid creating dead devices"
From
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@google.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
\
 
 \ /
  Last update: 2020-03-26 18:42    [W:0.022 / U:10.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site