diff options
author | Mike Turquette <mturquette@linaro.org> | 2012-05-02 18:45:32 -0400 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2012-05-08 17:12:42 -0400 |
commit | d269b974e32c5dcf043acd07f9ad96e715019ffd (patch) | |
tree | 32ba485eed35251017a45d361b88b098f9f6fd1f /drivers/clk | |
parent | 63f5c3b2b18dcaca0fc8983b52a3f5d4d70a0590 (diff) |
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: Mike Turquette <mturquette@linaro.org>
Acked-by: Saravana Kannan <skannan@codeaurora.org>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/Kconfig | 11 | ||||
-rw-r--r-- | drivers/clk/clk.c | 2 |
2 files changed, 0 insertions, 13 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index f05a60dc1a03..4864407e3fc4 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig | |||
@@ -23,17 +23,6 @@ config COMMON_CLK | |||
23 | menu "Common Clock Framework" | 23 | menu "Common Clock Framework" |
24 | depends on COMMON_CLK | 24 | depends on COMMON_CLK |
25 | 25 | ||
26 | config COMMON_CLK_DISABLE_UNUSED | ||
27 | bool "Disabled unused clocks at boot" | ||
28 | depends on COMMON_CLK | ||
29 | ---help--- | ||
30 | Traverses the entire clock tree and disables any clocks that are | ||
31 | enabled in hardware but have not been enabled by any device drivers. | ||
32 | This saves power and keeps the software model of the clock in line | ||
33 | with reality. | ||
34 | |||
35 | If in doubt, say "N". | ||
36 | |||
37 | config COMMON_CLK_DEBUG | 26 | config COMMON_CLK_DEBUG |
38 | bool "DebugFS representation of clock tree" | 27 | bool "DebugFS representation of clock tree" |
39 | depends on COMMON_CLK | 28 | depends on COMMON_CLK |
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c index 7ceca0e8645a..e5d5dc13bcfd 100644 --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c | |||
@@ -196,7 +196,6 @@ late_initcall(clk_debug_init); | |||
196 | static inline int clk_debug_register(struct clk *clk) { return 0; } | 196 | static inline int clk_debug_register(struct clk *clk) { return 0; } |
197 | #endif | 197 | #endif |
198 | 198 | ||
199 | #ifdef CONFIG_COMMON_CLK_DISABLE_UNUSED | ||
200 | /* caller must hold prepare_lock */ | 199 | /* caller must hold prepare_lock */ |
201 | static void clk_disable_unused_subtree(struct clk *clk) | 200 | static void clk_disable_unused_subtree(struct clk *clk) |
202 | { | 201 | { |
@@ -246,7 +245,6 @@ static int clk_disable_unused(void) | |||
246 | return 0; | 245 | return 0; |
247 | } | 246 | } |
248 | late_initcall(clk_disable_unused); | 247 | late_initcall(clk_disable_unused); |
249 | #endif | ||
250 | 248 | ||
251 | /*** helper functions ***/ | 249 | /*** helper functions ***/ |
252 | 250 | ||