Commit a403bbab authored by Alain Volmat's avatar Alain Volmat Committed by Stephen Boyd
Browse files

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: fa6415af ("clk: st: clk-flexgen: Detect critical clocks")
Signed-off-by: default avatarAlain Volmat <avolmat@me.com>
Link: https://lkml.kernel.org/r/20200322140740.3970-1-avolmat@me.com


Reviewed-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 8f3d9f35
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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);

		/*