From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753732AbcL3MBM (ORCPT ); Fri, 30 Dec 2016 07:01:12 -0500 Received: from mail-qt0-f193.google.com ([209.85.216.193]:35926 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752426AbcL3MBK (ORCPT ); Fri, 30 Dec 2016 07:01:10 -0500 MIME-Version: 1.0 Reply-To: cwchoi00@gmail.com In-Reply-To: References: <1482926212-19223-1-git-send-email-cw00.choi@samsung.com> <1482926212-19223-5-git-send-email-cw00.choi@samsung.com> From: Chanwoo Choi Date: Fri, 30 Dec 2016 21:00:48 +0900 Message-ID: Subject: Re: [PATCH v2 4/8] PM / devfreq: exynos-ppmu: Show the registred device for ppmu device To: MyungJoo Ham Cc: Chanwoo Choi , Kyungmin Park , "Rafael J. Wysocki" , Linux PM list , LKML , Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas , Linux Samsung SoC Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2016-12-30 19:35 GMT+09:00 MyungJoo Ham : > On Wed, Dec 28, 2016 at 8:56 PM, Chanwoo Choi wrote: >> This patch just adds the simple log to show the PPMU device's registration >> during the kernel booting. >> >> Cc: Kukjin Kim >> Cc: Krzysztof Kozlowski >> Cc: Javier Martinez Canillas >> Cc: linux-samsung-soc@vger.kernel.org >> Signed-off-by: Chanwoo Choi >> --- >> drivers/devfreq/event/exynos-ppmu.c | 5 ++++- >> 1 file changed, 4 insertions(+), 1 deletion(-) >> >> diff --git a/drivers/devfreq/event/exynos-ppmu.c b/drivers/devfreq/event/exynos-ppmu.c >> index fb3706faf5bd..9b5294d0bff4 100644 >> --- a/drivers/devfreq/event/exynos-ppmu.c >> +++ b/drivers/devfreq/event/exynos-ppmu.c >> @@ -591,7 +591,7 @@ static int exynos_ppmu_parse_dt(struct platform_device *pdev, >> info->ppmu.clk = devm_clk_get(dev, "ppmu"); >> if (IS_ERR(info->ppmu.clk)) { >> info->ppmu.clk = NULL; >> - dev_warn(dev, "cannot get PPMU clock\n"); >> + dev_dbg(dev, "cannot get PPMU clock\n"); > > Do you really want not to emit warning with a clock not found? The clock is now optional on the exynos-bus.c driver. But we better to keep the warning message. Instead, I'll try to add the clock to PPMU which is missing the clock. I'll send the next version. [snip] -- Best Regards, Chanwoo Choi