From: skannan@codeaurora.org (Saravana Kannan)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] clk: remove COMMON_CLK_DISABLE_UNUSED
Date: Mon, 07 May 2012 12:31:43 -0700 [thread overview]
Message-ID: <4FA8231F.4010902@codeaurora.org> (raw)
In-Reply-To: <1336367310-5140-4-git-send-email-mturquette@linaro.org>
On 05/06/2012 10:08 PM, Mike Turquette wrote:
> 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>
> ---
> drivers/clk/Kconfig | 11 -----------
> drivers/clk/clk.c | 2 --
> 2 files changed, 0 insertions(+), 13 deletions(-)
>
> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
> index f05a60d..4864407 100644
> --- a/drivers/clk/Kconfig
> +++ b/drivers/clk/Kconfig
> @@ -23,17 +23,6 @@ config COMMON_CLK
> menu "Common Clock Framework"
> 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
> bool "DebugFS representation of clock tree"
> depends on COMMON_CLK
> diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
> index 7ceca0e..e5d5dc1 100644
> --- a/drivers/clk/clk.c
> +++ b/drivers/clk/clk.c
> @@ -196,7 +196,6 @@ late_initcall(clk_debug_init);
> static inline int clk_debug_register(struct clk *clk) { return 0; }
> #endif
>
> -#ifdef CONFIG_COMMON_CLK_DISABLE_UNUSED
> /* caller must hold prepare_lock */
> static void clk_disable_unused_subtree(struct clk *clk)
> {
> @@ -246,7 +245,6 @@ static int clk_disable_unused(void)
> return 0;
> }
> late_initcall(clk_disable_unused);
> -#endif
>
> /*** helper functions ***/
>
Good decision! Acked.
-Saravana
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
next prev parent reply other threads:[~2012-05-07 19:31 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-07 5:08 [PATCH 0/5] more clk-next fixes Mike Turquette
2012-05-07 5:08 ` [PATCH 1/5] MAINTAINERS: add entry for common clk framework Mike Turquette
2012-05-07 5:08 ` [PATCH 2/5] clk: prevent spurious parent rate propagation Mike Turquette
2012-05-07 7:58 ` Sascha Hauer
2012-05-07 17:34 ` Turquette, Mike
2012-05-07 5:08 ` [PATCH 3/5] clk: remove COMMON_CLK_DISABLE_UNUSED Mike Turquette
2012-05-07 19:31 ` Saravana Kannan [this message]
2012-05-07 5:08 ` [PATCH 4/5] clk: mux: assign init data Mike Turquette
2012-05-07 5:08 ` [PATCH 5/5] clk: add a fixed factor clock Mike Turquette
2012-05-07 19:54 ` Saravana Kannan
2012-05-07 20:14 ` Turquette, Mike
2012-05-07 20:26 ` Saravana Kannan
2012-05-08 7:20 ` [PATCH 0/5] more clk-next fixes Andrew Lunn
2012-05-08 16:12 ` Shawn Guo
2012-05-08 17:33 ` Turquette, Mike
2012-05-08 21:35 ` Turquette, Mike
2012-05-11 14:39 ` Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FA8231F.4010902@codeaurora.org \
--to=skannan@codeaurora.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.