[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200322140740.3970-1-avolmat@me.com>
Date: Sun, 22 Mar 2020 15:07:40 +0100
From: Alain Volmat <avolmat@...com>
To: mturquette@...libre.com, sboyd@...nel.org, lee.jones@...aro.org,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: patrice.chotard@...com, avolmat@...com
Subject: [PATCH] clk: clk-flexgen: fix clock-critical handling
Fixes an issue leading to having all clocks following a critical
clocks marked as well as criticals.
Fixes: fa6415affe20 ("clk: st: clk-flexgen: Detect critical clocks")
Signed-off-by: Alain Volmat <avolmat@...com>
---
drivers/clk/st/clk-flexgen.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/st/clk-flexgen.c b/drivers/clk/st/clk-flexgen.c
index 4413b6e04a8e..55873d4b7603 100644
--- a/drivers/clk/st/clk-flexgen.c
+++ b/drivers/clk/st/clk-flexgen.c
@@ -375,6 +375,7 @@ static void __init st_of_flexgen_setup(struct device_node *np)
break;
}
+ flex_flags &= ~CLK_IS_CRITICAL;
of_clk_detect_critical(np, i, &flex_flags);
/*
--
2.17.1
Powered by blists - more mailing lists