Message ID | 1370939520-16132-3-git-send-email-peter.ujfalusi@ti.com |
---|---|
State | Accepted |
Commit | 6d931cf8ba60eeceb957c180edecaa5f8aabf026 |
Headers | show
Return-Path: <patchwork-forward+bncBC37TRNB4IBRBCOB3OGQKGQEA5XUNEI@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qe0-f71.google.com (mail-qe0-f71.google.com [209.85.128.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id BB55525E57 for <linaro@patches.linaro.org>; Tue, 11 Jun 2013 08:32:09 +0000 (UTC) Received: by mail-qe0-f71.google.com with SMTP id 1sf8256064qee.10 for <linaro@patches.linaro.org>; Tue, 11 Jun 2013 01:32:09 -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=V9eNtakbP7Cnv6VY5jR3r5G3Qc3Dxcx7+5TPslYuN1I=; b=dpYkPCTIVozSAZjbY7ReTcpBcuodS+twA5YdRDiOaye0a38JtA2W4P+sq3YjHnho6e IlY6yn6QrSpv6cpUmRnLo5l0hCt1c3ilDaL00fcPWT1s3l4j7nGW7qTWq54Enu4/tqjc h/U7eOwv+XuSY3w/DCjUEAErHAxTGBRTZAZOnHoJktLlkvrgeRZVrweZL0Ao5kSC9Zg3 LrKtZ5CNCZCULexMhueY6NZl8RWdAYz32rMhAl84qyGOgWUVh/XXn5M9m5rOUlIN4KQe ZRyULeYec7qoxi/yxMU/HSdcu2T2pGyAfnwQi/DoU/+MJTX7BzMq14RXoHNOQDrtCZW6 ZKEA== X-Received: by 10.224.200.202 with SMTP id ex10mr10400594qab.8.1370939529278; Tue, 11 Jun 2013 01:32:09 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.82.74 with SMTP id g10ls1803763qey.60.gmail; Tue, 11 Jun 2013 01:32:09 -0700 (PDT) X-Received: by 10.58.188.82 with SMTP id fy18mr7648800vec.41.1370939529100; Tue, 11 Jun 2013 01:32:09 -0700 (PDT) Received: from mail-vb0-x22c.google.com (mail-vb0-x22c.google.com [2607:f8b0:400c:c02::22c]) by mx.google.com with ESMTPS id sc6si6563177vdc.60.2013.06.11.01.32.09 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 11 Jun 2013 01:32:09 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::22c 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::22c; Received: by mail-vb0-f44.google.com with SMTP id e15so1367901vbg.17 for <patchwork-forward@linaro.org>; Tue, 11 Jun 2013 01:32:09 -0700 (PDT) X-Received: by 10.221.4.131 with SMTP id oc3mr7524351vcb.49.1370939528964; Tue, 11 Jun 2013 01:32:08 -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 pb14csp99741vcb; Tue, 11 Jun 2013 01:32:08 -0700 (PDT) X-Received: by 10.60.141.2 with SMTP id rk2mr6806540oeb.69.1370939527936; Tue, 11 Jun 2013 01:32:07 -0700 (PDT) Received: from devils.ext.ti.com (devils.ext.ti.com. [198.47.26.153]) by mx.google.com with ESMTPS id k6si12448453oex.31.2013.06.11.01.32.06 for <patches@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 01:32:07 -0700 (PDT) Received-SPF: pass (google.com: domain of peter.ujfalusi@ti.com designates 198.47.26.153 as permitted sender) client-ip=198.47.26.153; Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r5B8W5K8013104; Tue, 11 Jun 2013 03:32:05 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5B8W5QL017837; Tue, 11 Jun 2013 03:32:05 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.2.342.3; Tue, 11 Jun 2013 03:32:05 -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 r5B8W17H030718; Tue, 11 Jun 2013 03:32:04 -0500 From: Peter Ujfalusi <peter.ujfalusi@ti.com> To: Tony Lindgren <tony@atomide.com>, Paul Walmsley <paul@pwsan.com> CC: <linux-omap@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <patches@linaro.org> Subject: [PATCH 2/3] ARM: OMAP2+: devices: Do not print error when DMIC hwmod lookup fails Date: Tue, 11 Jun 2013 10:31:59 +0200 Message-ID: <1370939520-16132-3-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: ALoCoQnZa75soLqFJO1yGMcnEWTEMXHYFTwJ0+XX5vQ+xw7nDi9zcXS6lHP/wfu/hBtm+UCgg7PL X-Original-Sender: peter.ujfalusi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::22c 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: <patchwork-forward.linaro.org> X-Google-Group-Id: 836684582541 List-Post: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post?hl=en-US>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?hl=en-US&topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/?hl=en-US> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe?hl=en-US>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> Content-Type: text/plain |
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index b82538d..8f268b4 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -393,10 +393,8 @@ static void __init omap_init_dmic(void) struct platform_device *pdev; oh = omap_hwmod_lookup("dmic"); - if (!oh) { - pr_err("Could not look up dmic hw_mod\n"); + if (!oh) return; - } pdev = omap_device_build("omap-dmic", -1, oh, NULL, 0); WARN(IS_ERR(pdev), "Can't build omap_device for omap-dmic.\n");
It means that the SoC does not have DMIC IP . Reported-by: Paul Walmsley <paul@pwsan.com> Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> --- arch/arm/mach-omap2/devices.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)