]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: tegra: emc: Don't enable EMC clock manually
authorDmitry Osipenko <digetx@gmail.com>
Sun, 14 Apr 2019 19:23:17 +0000 (22:23 +0300)
committerStephen Boyd <sboyd@kernel.org>
Thu, 25 Apr 2019 20:54:19 +0000 (13:54 -0700)
The EMC clock marked as critical, hence it is already enabled at the
registration time.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-emc.c

index 0621a3a82ea6c801de2d0c2a055cc29769a2f554..23416982e7c77e9690a1a1dc939185a83d4a5b02 100644 (file)
@@ -532,7 +532,5 @@ struct clk *tegra_clk_register_emc(void __iomem *base, struct device_node *np,
        /* Allow debugging tools to see the EMC clock */
        clk_register_clkdev(clk, "emc", "tegra-clk-debug");
 
-       clk_prepare_enable(clk);
-
        return clk;
 };