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: 9334109 X-Patchwork-Delegate: rjw@sisk.pl Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 83032607FD for ; Thu, 15 Sep 2016 15:45:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75538299C4 for ; Thu, 15 Sep 2016 15:45:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 67C58299CF; Thu, 15 Sep 2016 15:45:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3F5E299C4 for ; Thu, 15 Sep 2016 15:45:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751563AbcIOPpt (ORCPT ); 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-Id: <20160915154513.3006199-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:fCwl8LUjq/hNbaylQ6vIi6WzlhZRnXCSu5suU/pOHWTNPjNsxMH Vuti2PWCVdtG5X8C01nRekpaX1Y7XQGxosVyh8+xzgGJkTHDfoGSPO5L5yPYI1jO6V991Fi ASKcPhA4P+dNpR3DJ5mKctzhBDM8oy9A0cd8na2hsRAw3qXn5ATLFerxVknpLMfGT9SXd3X zdb0LXcGnDeiOuyfxHsxw== X-UI-Out-Filterresults: notjunk:1; V01:K0:VVJ9BSjiOqs=:8OMgJywKxpyWuv0CcCBM+e ttf7QEBAGymUfqRtF3TbuqS2G8fB8yiVQPHmjcZGH2NfDDkQKFKgo3yYXMO7NhZaYSRa+0b+Y an6u1fh0uNH+updEUp5Nsu+FJ0vB/evhlkWqFOxqG9f8tzRNbpMjrHIdB/7pMkPmTyplJcxfv 7o37JZBIDowkIfx1Xxcy29T3M8AFZ6JaiwaBzPNkwQH37emjmDzqBPu46fZNcKimN+FwOZR10 ezACTsSOe0MJ+iq2ruWw4/SsOb00Xa4rt6WQnqaTxVMNbFe+0elINXlDV6qpoY9OmSacO26mM QeOPmLxx1T61qWaSNZJEtaE8nCJvFfnw0ROLMUAtF+MyC1OauSF/EhZ/lDg8mnmj0uMFAe6Zj vxWudRCeKtIXsNNgst9jPJKEFt7uGotnE3luH+jpTWHYVnEyAU2HJRTwhhh1CXEGQfffU/zKv mXpxM47xDSroA3K5t+XYsBI8ClRVEC3IH6JQpFbV8/H8Tl6Ad4dLyKAkQh3KD/r0n4JPBD+LO Hux25TBqRQIyzH6ZMZh13X0/GP89m+qg/uSbBzXEET4wVna92SrKzZDhDT4EVNyD2ER2MFVbx 9ClJ3zb8MVCdIios1hyGviWAjYjZsaJi97JL/1CeTUejwR1ZBYGd4KblR1obflDATBbU/D23h 5cbxjBaAyF+Q/9vXvES3chMInF7s16ZmSIwgwSMakJUDtZOY2wBVxm9Iz/ZKqyMwKuPU= 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 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") Acked-by: Chanwoo Choi Signed-off-by: MyungJoo Ham --- drivers/devfreq/Kconfig | 1 + 1 file changed, 1 insertion(+) 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).