Skip to content

Commit a403bba

Browse files
Alain Volmatbebarino
authored andcommitted
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: fa6415a ("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]>
1 parent 8f3d9f3 commit a403bba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/st/clk-flexgen.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ static void __init st_of_flexgen_setup(struct device_node *np)
375375
break;
376376
}
377377

378+
flex_flags &= ~CLK_IS_CRITICAL;
378379
of_clk_detect_critical(np, i, &flex_flags);
379380

380381
/*

0 commit comments

Comments
 (0)