diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2018-01-10 16:59:42 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-03-12 15:58:58 +0300 |
commit | 2dcabf053c6ecde46f7aa3612c5a57fb8bd185c4 (patch) | |
tree | 7fdbda65b1f0049027e070ade27d3fe415db6d6c /drivers/clk/tegra/clk-emc.c | |
parent | e403d00573431e1e3de1710a91c6090c60ec16af (diff) | |
download | linux-2dcabf053c6ecde46f7aa3612c5a57fb8bd185c4.tar.xz |
clk: tegra: Mark HCLK, SCLK and EMC as critical
Machine dies if HCLK, SCLK or EMC is disabled. Hence mark these clocks
as critical.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Cc: <stable@vger.kernel.org> # v4.16
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/clk/tegra/clk-emc.c')
-rw-r--r-- | drivers/clk/tegra/clk-emc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/tegra/clk-emc.c b/drivers/clk/tegra/clk-emc.c index 11a5066e5c27..5234acd30e89 100644 --- a/drivers/clk/tegra/clk-emc.c +++ b/drivers/clk/tegra/clk-emc.c @@ -515,7 +515,7 @@ struct clk *tegra_clk_register_emc(void __iomem *base, struct device_node *np, init.name = "emc"; init.ops = &tegra_clk_emc_ops; - init.flags = 0; + init.flags = CLK_IS_CRITICAL; init.parent_names = emc_parent_clk_names; init.num_parents = ARRAY_SIZE(emc_parent_clk_names); |