From patchwork Thu Nov 13 22:28:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 5301531 Return-Path: X-Original-To: patchwork-linux-pm@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 5AE8AC11AC for ; Thu, 13 Nov 2014 22:28:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9FF5B201BB for ; Thu, 13 Nov 2014 22:28:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BBD2F20149 for ; Thu, 13 Nov 2014 22:28:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933765AbaKMW2j (ORCPT ); Thu, 13 Nov 2014 17:28:39 -0500 Received: from mail.kernel.org ([198.145.19.201]:36727 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934350AbaKMW20 (ORCPT ); Thu, 13 Nov 2014 17:28:26 -0500 Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 59BB120149; Thu, 13 Nov 2014 22:28:25 +0000 (UTC) Received: from localhost (c-67-160-101-93.hsd1.wa.comcast.net [67.160.101.93]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 67961201FA; Thu, 13 Nov 2014 22:28:24 +0000 (UTC) From: Kevin Hilman To: "Rafael J. Wysocki" Cc: Ulf Hansson , Geert Uytterhoeven , linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org, Kevin Hilman , Grygorii Strashko , Len Brown , Pavel Machek , linux-kernel@vger.kernel.org (open list) Subject: [PATCH] PM / domains: Kconfig: always enable PM_RUNTIME when genpd enabled Date: Thu, 13 Nov 2014 14:28:21 -0800 Message-Id: <1415917702-6742-2-git-send-email-khilman@kernel.org> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1415917702-6742-1-git-send-email-khilman@kernel.org> References: <1415917702-6742-1-git-send-email-khilman@kernel.org> X-Spam-Status: No, score=-7.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kevin Hilman It makes little sense to use generic power domains without runtime PM. Also, since the complexities of handling the !PM_RUNTIME case are causing more trouble and confusion than they're worth, let's simplify the world by making genpd always enable runtime PM. Cc: Ulf Hansson Cc: Geert Uytterhoeven Cc: Grygorii Strashko Signed-off-by: Kevin Hilman --- kernel/power/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 3d39cc0228e9..2a8c64d0a43c 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -271,7 +271,7 @@ config PM_CLK config PM_GENERIC_DOMAINS bool - depends on PM + select PM_RUNTIME config WQ_POWER_EFFICIENT_DEFAULT bool "Enable workqueue power-efficient mode by default"