mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-28 21:33:52 +00:00
clk: sunxi-ng: Fix missing CLK_SET_RATE_PARENT in ccu-sun4i-a10.c
commit a894990ac9
upstream.
When using cpufreq-dt with default govenor other than "performance"
system freezes while booting.
Adding CLK_SET_RATE_PARENT | CLK_IS_CRITICAL to clk_cpu fixes the
problem.
Tested on Cubietruck (A20).
Fixes: c84f5683f6E ("clk: sunxi-ng: Add sun4i/sun7i CCU driver")
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Alexander Syring <alex@asyring.de>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c13fddcb98
commit
3f745fe61a
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ static struct ccu_mux cpu_clk = {
|
|||
.hw.init = CLK_HW_INIT_PARENTS("cpu",
|
||||
cpu_parents,
|
||||
&ccu_mux_ops,
|
||||
CLK_IS_CRITICAL),
|
||||
CLK_SET_RATE_PARENT | CLK_IS_CRITICAL),
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue