clk: tegra: Mark Memory Controller clock as critical
authorDmitry Osipenko <digetx@gmail.com>
Sun, 3 Jun 2018 22:48:05 +0000 (01:48 +0300)
committerStephen Boyd <sboyd@kernel.org>
Mon, 9 Jul 2018 00:08:31 +0000 (17:08 -0700)
Memory Controller should be always-on. Currently the sibling EMC clock is
marked as critical, let's mark MC clock too for consistency.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-By: Peter De Schrijver <pdeschrijver@nvidia.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-divider.c

index 16e0aee14773b9bb110d45f8be3fa997272585c7..58874c1bbf5e6550dbbee8c90ad2698490b2640e 100644 (file)
@@ -194,6 +194,7 @@ static const struct clk_div_table mc_div_table[] = {
 struct clk *tegra_clk_register_mc(const char *name, const char *parent_name,
                                  void __iomem *reg, spinlock_t *lock)
 {
-       return clk_register_divider_table(NULL, name, parent_name, 0, reg,
-                                         16, 1, 0, mc_div_table, lock);
+       return clk_register_divider_table(NULL, name, parent_name,
+                                         CLK_IS_CRITICAL, reg, 16, 1, 0,
+                                         mc_div_table, lock);
 }