From patchwork Mon Nov 17 06:12:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pankaj Dubey X-Patchwork-Id: 5315591 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 5A4AEC11AC for ; Mon, 17 Nov 2014 06:23:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 77B8D201ED for ; Mon, 17 Nov 2014 06:23:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A483E201BC for ; Mon, 17 Nov 2014 06:23:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XqFf4-0002oN-3f; Mon, 17 Nov 2014 06:19:42 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XqFf0-00027r-Ol for linux-arm-kernel@lists.infradead.org; Mon, 17 Nov 2014 06:19:39 +0000 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NF600IBX6VUKRD0@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 17 Nov 2014 15:19:06 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id AA.56.18167.95399645; Mon, 17 Nov 2014 15:19:05 +0900 (KST) X-AuditID: cbfee690-f79ab6d0000046f7-22-54699359f618 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 49.60.20081.95399645; Mon, 17 Nov 2014 15:19:05 +0900 (KST) Received: from chromebld-server.sisodomain.com ([107.108.73.106]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0NF600HVG6V732N0@mmp2.samsung.com>; Mon, 17 Nov 2014 15:19:05 +0900 (KST) From: Pankaj Dubey To: linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] cpu_pm: fix unmet dependency for CPU_PM Date: Mon, 17 Nov 2014 11:42:44 +0530 Message-id: <1416204764-8912-1-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrCLMWRmVeSWpSXmKPExsWyRsSkVjdycmaIQcdubYvtG7+xWsyaspfJ YtPja6wWl3fNYbP43HuE0eL2ZV6L6cf+slks2vqF3eLuqaNsFmdOX2J14PLYtnsbq0dLcw+b x+I9L5k87lzbw+axeUm9x5ar7SwefVtWMXqsWP2d3ePzJrkAzigum5TUnMyy1CJ9uwSujGud t9gLmtgr7s6Ra2B8yNrFyMkhIWAicWflKihbTOLCvfVsXYxcHEICSxklVj/eywZTtHrnElaI xHRGidaZC5ghnAlMEt3/XzGBVLEJ6Eo8eT+XGcQWEUiSmLp6MlgHs8AiRolNi96DjRIWsJY4 tvA4I4jNIqAq8XDGTBYQm1fAXeJe4xf2LkYOoHUKEnMm2YD0SghsYpfo7NjDAlEvIPFt8iEW iBpZiU0HmCGuk5Q4uOIGywRGwQWMDKsYRVMLkguKk9KLTPSKE3OLS/PS9ZLzczcxAgP/9L9n E3Yw3jtgfYhRgINRiYd3R3ZmiBBrYllxZe4hRlOgDROZpUST84HxlVcSb2hsZ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23XR/22xbRs3h33eKeBtfen6Svec/f6PDULP8jddVb4Wfv6vWt7XNCWW 4oxEQy3mouJEAK4bU0DBAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141116_221938_958800_9532C2E0 X-CRM114-Status: UNSURE ( 9.89 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -4.9 (----) Cc: len.brown@intel.com, linux@arm.linux.org.uk, nico@linaro.org, Pankaj Dubey , rjw@rjwysocki.net, pavel@ucw.cz, ccross@android.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP If BL_SWITCHER is enabled but SUSPEND and CPU_IDLE is not enabled we are getting following config warning. warning: (BL_SWITCHER) selects CPU_PM which has unmet direct dependencies (SUSPEND || CPU_IDLE) It has been noticed that CPU_PM dependencies in this file are not really required so let's remove these dependencies from CPU_PM. Signed-off-by: Pankaj Dubey Acked-by: Nicolas Pitre --- This patch is second attempt to fix this config issue. Patch v1 and related discussion can be found here [1] 1: https://lkml.org/lkml/2014/11/14/673 kernel/power/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index bbef57f..1eb7da7 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -308,4 +308,3 @@ config PM_GENERIC_DOMAINS_OF config CPU_PM bool - depends on SUSPEND || CPU_IDLE