]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sunxi-ng: Fix missing CLK_SET_RATE_PARENT in ccu-sun4i-a10.c
authorAlexander Syring <alex@asyring.de>
Thu, 14 Sep 2017 12:05:19 +0000 (14:05 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Sun, 17 Sep 2017 10:03:08 +0000 (12:03 +0200)
commit9af4d4fbfe7c14dd64c802b54a0f8d91577097c8
tree3f2771b066efa917f8a0d69342e1d16cb74619f6
parent3b8fcda6464ba8822c678c336e4757e517ecb7c5
clk: sunxi-ng: Fix missing CLK_SET_RATE_PARENT in ccu-sun4i-a10.c

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>
drivers/clk/sunxi-ng/ccu-sun4i-a10.c