[PATCH] clk: ingenic: Remove OF_POPULATED flag to probe children
From: Paul Cercueil
Date: Sun Jul 14 2019 - 17:57:33 EST
Remove the OF_POPULATED flag, in order to probe children when the
device node is compatible with "simple-mfd".
Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
---
drivers/clk/ingenic/cgu.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/clk/ingenic/cgu.c b/drivers/clk/ingenic/cgu.c
index 6e963031cd87..bf2a86cf1dbf 100644
--- a/drivers/clk/ingenic/cgu.c
+++ b/drivers/clk/ingenic/cgu.c
@@ -759,6 +759,12 @@ ingenic_cgu_new(const struct ingenic_cgu_clk_info *clock_info,
spin_lock_init(&cgu->lock);
+ /*
+ * Remove the OF_POPULATED flag, in order to probe children when the
+ * device node is compatible with "simple-mfd".
+ */
+ of_node_clear_flag(np, OF_POPULATED);
+
return cgu;
err_out_free:
--
2.21.0.593.g511ec345e18