Commit d269b974 authored by Mike Turquette's avatar Mike Turquette

clk: remove COMMON_CLK_DISABLE_UNUSED

Exposing this option generates confusion and incorrect behavior for
single-image builds across platforms.  Enable this behavior permanently.
Signed-off-by: default avatarMike Turquette <mturquette@linaro.org>
Acked-by: default avatarSaravana Kannan <skannan@codeaurora.org>
parent 63f5c3b2
...@@ -23,17 +23,6 @@ config COMMON_CLK ...@@ -23,17 +23,6 @@ config COMMON_CLK
menu "Common Clock Framework" menu "Common Clock Framework"
depends on COMMON_CLK depends on COMMON_CLK
config COMMON_CLK_DISABLE_UNUSED
bool "Disabled unused clocks at boot"
depends on COMMON_CLK
---help---
Traverses the entire clock tree and disables any clocks that are
enabled in hardware but have not been enabled by any device drivers.
This saves power and keeps the software model of the clock in line
with reality.
If in doubt, say "N".
config COMMON_CLK_DEBUG config COMMON_CLK_DEBUG
bool "DebugFS representation of clock tree" bool "DebugFS representation of clock tree"
depends on COMMON_CLK depends on COMMON_CLK
......
...@@ -196,7 +196,6 @@ late_initcall(clk_debug_init); ...@@ -196,7 +196,6 @@ late_initcall(clk_debug_init);
static inline int clk_debug_register(struct clk *clk) { return 0; } static inline int clk_debug_register(struct clk *clk) { return 0; }
#endif #endif
#ifdef CONFIG_COMMON_CLK_DISABLE_UNUSED
/* caller must hold prepare_lock */ /* caller must hold prepare_lock */
static void clk_disable_unused_subtree(struct clk *clk) static void clk_disable_unused_subtree(struct clk *clk)
{ {
...@@ -246,7 +245,6 @@ static int clk_disable_unused(void) ...@@ -246,7 +245,6 @@ static int clk_disable_unused(void)
return 0; return 0;
} }
late_initcall(clk_disable_unused); late_initcall(clk_disable_unused);
#endif
/*** helper functions ***/ /*** helper functions ***/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment