From patchwork Thu Sep 15 15:44:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101780 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp21238qgf; Thu, 15 Sep 2016 08:45:51 -0700 (PDT) X-Received: by 10.98.31.133 with SMTP id l5mr1807813pfj.178.1473954351400; Thu, 15 Sep 2016 08:45:51 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u84si32365090pfd.18.2016.09.15.08.45.51; Thu, 15 Sep 2016 08:45:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-pm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-pm-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751563AbcIOPpt (ORCPT + 14 others); Thu, 15 Sep 2016 11:45:49 -0400 Received: from mout.kundenserver.de ([217.72.192.73]:54160 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751125AbcIOPps (ORCPT ); Thu, 15 Sep 2016 11:45:48 -0400 Received: from wuerfel.lan. ([78.43.20.153]) by mrelayeu.kundenserver.de (mreue101) with ESMTPA (Nemesis) id 0Lmcct-1bAwyz1bvf-00aEsC; Thu, 15 Sep 2016 17:45:18 +0200 From: Arnd Bergmann To: MyungJoo Ham , Kyungmin Park Cc: Lin Huang , Arnd Bergmann , Chanwoo Choi , Krzysztof Kozlowski , "Rafael J. Wysocki" , linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] PM / devfreq: rockchip: add PM_DEVFREQ_EVENT dependency Date: Thu, 15 Sep 2016 17:44:58 +0200 Message-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uPU= Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org The newly added ARM_RK3399_DMC_DEVFREQ driver requires the DEVFREQ_EVENT_ROCKCHIP_DFI driver and tries to turn that on through a 'select' statement, and that in turn has a dependency on PM_DEVFREQ_EVENT, which may be disabled here: warning: (ARM_RK3399_DMC_DEVFREQ) selects DEVFREQ_EVENT_ROCKCHIP_DFI which has unmet direct dependencies (PM_DEVFREQ && PM_DEVFREQ_EVENT && ARCH_ROCKCHIP) We probably want a 'depends on' here, but other drivers use 'select' too, so for consistency I'm doing the same. Signed-off-by: Arnd Bergmann Fixes: 5a893e31a636 ("PM / devfreq: rockchip: add devfreq driver for rk3399 dmc") --- drivers/devfreq/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.9.0 -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/devfreq/Kconfig b/drivers/devfreq/Kconfig index 93b6ada06676..41254e702f1e 100644 --- a/drivers/devfreq/Kconfig +++ b/drivers/devfreq/Kconfig @@ -105,6 +105,7 @@ config ARM_RK3399_DMC_DEVFREQ depends on ARCH_ROCKCHIP select DEVFREQ_EVENT_ROCKCHIP_DFI select DEVFREQ_GOV_SIMPLE_ONDEMAND + select PM_DEVFREQ_EVENT select PM_OPP help This adds the DEVFREQ driver for the RK3399 DMC(Dynamic Memory Controller).