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: 5315571 Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4B5659F2ED for ; Mon, 17 Nov 2014 06:19:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 892F6201F2 for ; Mon, 17 Nov 2014 06:19:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 256B1201BC for ; Mon, 17 Nov 2014 06:19:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750772AbaKQGTK (ORCPT ); Mon, 17 Nov 2014 01:19:10 -0500 Received: from mailout2.samsung.com ([203.254.224.25]:43728 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750755AbaKQGTI (ORCPT ); Mon, 17 Nov 2014 01:19:08 -0500 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>; 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 Cc: rjw@rjwysocki.net, pavel@ucw.cz, len.brown@intel.com, linux@arm.linux.org.uk, nico@linaro.org, ccross@android.com, Pankaj Dubey 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 E3Yw3jtgfYhRgINRiYd3R3ZmiBBrYllxZe4hRlOgDROZpUST84HxlVcSb2hsZmRhamJqbGRu aaYkzvta6mewkEB6YklqdmpqQWpRfFF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fv6vWt7XNCWW 4oxEQy3mouJEAK4bU0DBAgAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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