Skip to content
Snippets Groups Projects
Commit 3b90cb39 authored by Leonard Crestez's avatar Leonard Crestez
Browse files

MLK-21296 clk: imx8mm: Remove CLK_SET_RATE_GATE from arm_a53_div


On recent kernels clks which are marked with CLK_SET_RATE_GATE are
"protected" against further changes at clk_prepare time. This
clk_core_rate_protect propagates up the clk tree and causes cpufreq
switches to fail later on.

See drivers/clk/clk.c around line 770.

Fix this by removing the CLK_SET_RATE_GATE flag for this specific clk.
This is safe because a53 clks are always only manipulated through
cpufreq.

Signed-off-by: default avatarLeonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: default avatarBai Ping <ping.bai@nxp.com>
parent 3d767fbf
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment