From patchwork Thu Jun 20 14:39:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 2756571 Return-Path: X-Original-To: patchwork-linux-arm@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 594269F39E for ; Thu, 20 Jun 2013 14:43:58 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 99680202B7 for ; Thu, 20 Jun 2013 14:43:53 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 64010202B3 for ; Thu, 20 Jun 2013 14:43:52 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Upg5V-0001vY-R0; Thu, 20 Jun 2013 14:43:50 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Upg5T-0000w1-C3; Thu, 20 Jun 2013 14:43:47 +0000 Received: from mms1.broadcom.com ([216.31.210.17]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Upg5Q-0000uq-LS for linux-arm-kernel@lists.infradead.org; Thu, 20 Jun 2013 14:43:45 +0000 Received: from [10.9.208.53] by mms1.broadcom.com with ESMTP (Broadcom SMTP Relay (Email Firewall v6.5)); Thu, 20 Jun 2013 07:39:35 -0700 X-Server-Uuid: 06151B78-6688-425E-9DE2-57CB27892261 Received: from IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) by IRVEXCHCAS06.corp.ad.broadcom.com (10.9.208.53) with Microsoft SMTP Server (TLS) id 14.1.438.0; Thu, 20 Jun 2013 07:43:16 -0700 Received: from mail-irva-13.broadcom.com (10.10.10.20) by IRVEXCHSMTP3.corp.ad.broadcom.com (10.9.207.53) with Microsoft SMTP Server id 14.1.438.0; Thu, 20 Jun 2013 07:43:16 -0700 Received: from fainelli-desktop.broadcom.com ( dhcp-lab-brsc-21.bri.broadcom.com [10.178.5.21]) by mail-irva-13.broadcom.com (Postfix) with ESMTP id 2C4A8F2D72; Thu, 20 Jun 2013 07:43:15 -0700 (PDT) From: "Florian Fainelli" To: lorenzo.pieralisi@arm.com Subject: [PATCH 2/3] ARM: kernel: downgrade missing clock-frequency from error to warning Date: Thu, 20 Jun 2013 15:39:05 +0100 Message-ID: <1371739146-32639-3-git-send-email-f.fainelli@gmail.com> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1371739146-32639-1-git-send-email-f.fainelli@gmail.com> References: <1371739146-32639-1-git-send-email-f.fainelli@gmail.com> MIME-Version: 1.0 X-WSS-ID: 7DDDCBAD31W39595003-01-01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130620_104344_785777_D12AF74B X-CRM114-Status: GOOD ( 13.18 ) X-Spam-Score: -2.5 (--) Cc: Florian Fainelli , nico@linaro.org, devicetree-discuss@lists.ozlabs.org, rob.herring@calxeda.com, grant.likely@linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,RCVD_IN_DNSWL_MED,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 A subsequent patch will modify the ARM CPU binding documentation to make it mandatory to supply either a "clocks" node, or a "clock-frequency" node when the property "device_type" equals "cpu". Since this is going to start spitting errors for some in-tree platforms, dowgrade the error message to a simple warning. Signed-off-by: Florian Fainelli --- arch/arm/kernel/topology.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kernel/topology.c b/arch/arm/kernel/topology.c index 8f340a1..091ec84 100644 --- a/arch/arm/kernel/topology.c +++ b/arch/arm/kernel/topology.c @@ -124,7 +124,7 @@ static void __init parse_dt_topology(void) if (IS_ERR(cpu_clk)) { prop = of_get_property(cn, "clock-frequency", &len); if (!prop || len != 4) { - pr_err("%s missing clock-frequency property\n", + pr_warn("%s missing clock-frequency property\n", cn->full_name); continue; }