]> git.baikalelectronics.ru Git - kernel.git/commit
clk: meson: g12a: fix cpu clock rate setting
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 19 Sep 2019 09:36:25 +0000 (11:36 +0200)
committerJerome Brunet <jbrunet@baylibre.com>
Tue, 1 Oct 2019 12:51:07 +0000 (14:51 +0200)
commitb887706fe1f5e046d6f803947e71e1194ee8e0d2
tree48a831877dc16fa714d4b8575a36c778e43a9217
parentd0652e2a9f54d7d4c723716579de5cb954f0a0e4
clk: meson: g12a: fix cpu clock rate setting

CLK_SET_RATE_NO_REPARENT is wrongly set on the g12a cpu premux0 clocks
flags, and CLK_SET_RATE_PARENT is required for the g12a cpu premux0 clock
and the g12b cpub premux0 clock, otherwise CCF always selects the SYS_PLL
clock to feed the cpu cluster.

Fixes: 07b05c5a89db ("clk: meson: g12a: add notifiers to handle cpu clock change")
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
drivers/clk/meson/g12a.c