From patchwork Tue Jun 11 08:31:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Ujfalusi X-Patchwork-Id: 17791 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f199.google.com (mail-gh0-f199.google.com [209.85.160.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 963A425E1A for ; Tue, 11 Jun 2013 08:32:07 +0000 (UTC) Received: by mail-gh0-f199.google.com with SMTP id g14sf4598376ghb.10 for ; Tue, 11 Jun 2013 01:32:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-beenthere:x-forwarded-to:x-forwarded-for:delivered-to:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe :content-type; bh=fKHRCq6PJt+G88ywdqGgGua6xsGsEejwUqgyWRvDwZQ=; b=kTMcz1BJQdsiZrtZul0lXVd8BSgcuGngu7j2ll02vjObCmIRm8JcYjpKpa8BmXQJa7 +5s24t5KSj5G39sIQj+dTcWL+MODFcxKLTOP/2VWraAVUla/edjnqqVGQC/t2lrMTS9f r82aOud8bzkZcIs0W/b1jgAdRruLJloZyzIHgTjnICESJuDzRnbupA5Zn32Q6nDM0Msi n4XuyzhwTjXZJGPYXqaqLvCf9BhguOObaMs3pIkjP23RDtUGRnn2ruvwf3CeX3tzfGvZ 08pTinOnq6sQwTf38QfOlBPQNonicdxUjfrUs0WmujbdUlLMJz58qFaYIPymFIMazoxy UMyA== X-Received: by 10.224.42.141 with SMTP id s13mr10371166qae.3.1370939527141; Tue, 11 Jun 2013 01:32:07 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.72.233 with SMTP id g9ls240694qev.84.gmail; Tue, 11 Jun 2013 01:32:06 -0700 (PDT) X-Received: by 10.220.90.71 with SMTP id h7mr7460925vcm.16.1370939526960; Tue, 11 Jun 2013 01:32:06 -0700 (PDT) Received: from mail-vb0-x22b.google.com (mail-vb0-x22b.google.com [2607:f8b0:400c:c02::22b]) by mx.google.com with ESMTPS id lb19si6547051vcb.71.2013.06.11.01.32.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Jun 2013 01:32:06 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22b is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::22b; Received: by mail-vb0-f43.google.com with SMTP id e12so2503314vbg.16 for ; Tue, 11 Jun 2013 01:32:06 -0700 (PDT) X-Received: by 10.52.170.148 with SMTP id am20mr6485930vdc.75.1370939526839; Tue, 11 Jun 2013 01:32:06 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.221.10.206 with SMTP id pb14csp99738vcb; Tue, 11 Jun 2013 01:32:06 -0700 (PDT) X-Received: by 10.60.141.164 with SMTP id rp4mr11524908oeb.38.1370939525761; Tue, 11 Jun 2013 01:32:05 -0700 (PDT) Received: from comal.ext.ti.com (comal.ext.ti.com. [198.47.26.152]) by mx.google.com with ESMTPS id k6si12473218oex.6.2013.06.11.01.32.05 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 01:32:05 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.ujfalusi@ti.com designates 198.47.26.152 as permitted sender) client-ip=198.47.26.152; Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id r5B8W48v032080; Tue, 11 Jun 2013 03:32:04 -0500 Received: from DLEE70.ent.ti.com (dlee70.ent.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5B8W4BE017812; Tue, 11 Jun 2013 03:32:04 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.2.342.3; Tue, 11 Jun 2013 03:32:04 -0500 Received: from barack.emea.dhcp.ti.com (barack.emea.dhcp.ti.com [137.167.125.74]) by dlelxv22.itg.ti.com (8.13.8/8.13.8) with ESMTP id r5B8W17G030718; Tue, 11 Jun 2013 03:32:03 -0500 From: Peter Ujfalusi To: Tony Lindgren , Paul Walmsley CC: , , Subject: [PATCH 1/3] ARM: OMAP2+: devices: Do not print error when McPDM hwmod lookup fails Date: Tue, 11 Jun 2013 10:31:58 +0200 Message-ID: <1370939520-16132-2-git-send-email-peter.ujfalusi@ti.com> X-Mailer: git-send-email 1.8.2.1 In-Reply-To: <1370939520-16132-1-git-send-email-peter.ujfalusi@ti.com> References: <1370939520-16132-1-git-send-email-peter.ujfalusi@ti.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmlX1e8Zj+Pbfq89SZysxOpTC+ANg18twc8CInrcwg15lsW8Is8Rcvj7NES5fUdz6KGRdQr X-Original-Sender: peter.ujfalusi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22b is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , It means that the SoC does not have McPDM IP. Reported-by: Paul Walmsley Signed-off-by: Peter Ujfalusi --- arch/arm/mach-omap2/devices.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 4269fc1..b82538d 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -374,10 +374,8 @@ static void __init omap_init_mcpdm(void) struct platform_device *pdev; oh = omap_hwmod_lookup("mcpdm"); - if (!oh) { - printk(KERN_ERR "Could not look up mcpdm hw_mod\n"); + if (!oh) return; - } pdev = omap_device_build("omap-mcpdm", -1, oh, NULL, 0); WARN(IS_ERR(pdev), "Can't build omap_device for omap-mcpdm.\n");