clk: clk-flexgen: fix clock-critical handling
[ Upstream commit5.4-rM2-2.2.x-imx-squasheda403bbab1a
] Fixes an issue leading to having all clocks following a critical clocks marked as well as criticals. Fixes:fa6415affe
("clk: st: clk-flexgen: Detect critical clocks") Signed-off-by: Alain Volmat <avolmat@me.com> Link: https://lkml.kernel.org/r/20200322140740.3970-1-avolmat@me.com Reviewed-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
parent
6a70c943a2
commit
a2fe8d88ae
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue