diff options
author | Alain Volmat <[email protected]> | 2020-03-22 15:07:40 +0100 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2020-05-27 01:14:06 -0700 |
commit | a403bbab1a73d798728d76931cab3ff0399b9560 (patch) | |
tree | 8adb69870b0543a2353053af30205a71fdebc733 | |
parent | 8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff) |
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 <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Reviewed-by: Patrice Chotard <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
-rw-r--r-- | drivers/clk/st/clk-flexgen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); /* |