commit | 48d5eb619c15847aba6757deb5c2c8badca2aece | [log] [tgz] |
---|---|---|
author | Chen-Yu Tsai <wens@csie.org> | Sun Jul 23 18:27:44 2017 +0800 |
committer | Chen-Yu Tsai <wens@csie.org> | Fri Aug 04 12:05:20 2017 +0800 |
tree | 1ee0062ccdb17d96195707cd3fbe1761269068b8 | |
parent | 1d42460a49347af4d1db345197e5d1277336b312 [diff] |
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: Ondrej Jirman <megous@megous.com> Fixes: 0577e4853bfb ("clk: sunxi-ng: Add H3 clocks") Signed-off-by: Chen-Yu Tsai <wens@csie.org> Tested-by: Icenowy Zheng <icenowy@aosc.io> Acked-by: Stephen Boyd <sboyd@codeaurora.org>