clk: sunxi-ng: h3: gate then ungate PLL CPU clk after rate change
This patch utilizes the new PLL clk notifier to gate then ungate the PLL CPU clock after rate changes. This should prevent any system hangs resulting from cpufreq changes to the clk. Reported-by: NOndrej Jirman <megous@megous.com> Fixes: 0577e485 ("clk: sunxi-ng: Add H3 clocks") Signed-off-by: NChen-Yu Tsai <wens@csie.org> Tested-by: NIcenowy Zheng <icenowy@aosc.io> Acked-by: NStephen Boyd <sboyd@codeaurora.org>
Showing
想要评论请 注册 或 登录