clk: meson: axg: mark fdiv2 and fdiv3 as critical
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 8 Nov 2018 09:31:23 +0000 (10:31 +0100)
committerStephen Boyd <sboyd@kernel.org>
Thu, 8 Nov 2018 18:21:21 +0000 (10:21 -0800)
commitd6ee1e7e9004d3d246cdfa14196989e0a9466c16
treef46b733beba54a394e26b21e630954d50b64e991
parente2576c8bdfd462c34b8a46c0084e7c30b0851bf4
clk: meson: axg: mark fdiv2 and fdiv3 as critical

Similar to gxbb and gxl platforms, axg SCPI Cortex-M co-processor
uses the fdiv2 and fdiv3 to, among other things, provide the cpu
clock.

Until clock hand-off mechanism makes its way to CCF and the generic
SCPI claims platform specific clocks, these clocks must be marked as
critical to make sure they are never disabled when needed by the
co-processor.

Fixes: 05f814402d61 ("clk: meson: add fdiv clock gates")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/meson/axg.c