From patchwork Mon May 7 05:08:28 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Turquette X-Patchwork-Id: 8426 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 4850423E00 for ; Mon, 7 May 2012 05:14:18 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 18666A18140 for ; Mon, 7 May 2012 05:14:18 +0000 (UTC) Received: by yhpp61 with SMTP id p61so4881388yhp.11 for ; Sun, 06 May 2012 22:14:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:x-gm-message-state; bh=5gJHzhyT60Z4bVPLrK2dHGtblxt1jxD8A3+lUCfNHCM=; b=M5sI7OAqPJbnc1qQuOViXYmMZjDQxv6IiI2bJfyhyQnpThd9l9/B4belff4WVmIRDK aWk4txLXCq2yOAUh2D66o9Wg3XvJ4Wqh9tIY8WedtjRSHkwOa08puc3uLvao7UwpXFHG HEcT3ILI1wINwP7zab6oG0AZFC1gO7J0O3mTduYQ7B+sNuyGOiNIkDCigF1r4ZnguAXl V6Rg0PRLcg/S3C1dhgU+GHAlUcb+0ktCm1UMXWHHWLHSfw5q8W1q2AhRCSwT8+Fucs4m 4bjimXrOnCo32Rf6rWIHXkgiPFnUmqOSn/AoRhXOxE+DWjKbMvtm7d3REnw89aIXJXav U/fg== Received: by 10.42.122.76 with SMTP id m12mr2446393icr.38.1336367657524; Sun, 06 May 2012 22:14:17 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.73.147 with SMTP id q19csp102867ibj; Sun, 6 May 2012 22:14:16 -0700 (PDT) Received: by 10.60.169.165 with SMTP id af5mr19619737oec.72.1336367656142; Sun, 06 May 2012 22:14:16 -0700 (PDT) Received: from arroyo.ext.ti.com (arroyo.ext.ti.com. [192.94.94.40]) by mx.google.com with ESMTPS id oo4si9205519obc.11.2012.05.06.22.14.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 06 May 2012 22:14:16 -0700 (PDT) Received-SPF: neutral (google.com: 192.94.94.40 is neither permitted nor denied by best guess record for domain of mturquette@linaro.org) client-ip=192.94.94.40; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.94.94.40 is neither permitted nor denied by best guess record for domain of mturquette@linaro.org) smtp.mail=mturquette@linaro.org Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id q475E5Nu014823; Mon, 7 May 2012 00:14:05 -0500 Received: from DLEE74.ent.ti.com (dlee74.ent.ti.com [157.170.170.8]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id q475E5FU022311; Mon, 7 May 2012 00:14:05 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE74.ent.ti.com (157.170.170.8) with Microsoft SMTP Server id 14.1.323.3; Mon, 7 May 2012 00:14:05 -0500 Received: from nucleus.nsc.com (nucleus.nsc.com [10.188.36.112]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id q475DxRp028783; Mon, 7 May 2012 00:14:04 -0500 From: Mike Turquette To: CC: , , , , , , , , , , , , , Mike Turquette Subject: [PATCH 3/5] clk: remove COMMON_CLK_DISABLE_UNUSED Date: Sun, 6 May 2012 22:08:28 -0700 Message-ID: <1336367310-5140-4-git-send-email-mturquette@linaro.org> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1336367310-5140-1-git-send-email-mturquette@linaro.org> References: <1336367310-5140-1-git-send-email-mturquette@linaro.org> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQk5Tqz/T4rIMgpG5VC0ZXNffQJGaORobwnI1iRK91SP48WCZHcqPOJOHKjogAHTUSqJ5bzr Exposing this option generates confusion and incorrect behavior for single-image builds across platforms. Enable this behavior permanently. Signed-off-by: Mike Turquette --- 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 ***/