Message ID | 1370939520-16132-4-git-send-email-peter.ujfalusi@ti.com |
---|---|
State | Accepted |
Commit | 7252db5fef96b309f323abdfe574c6bf56115481 |
Headers | show
Return-Path: <patchwork-forward+bncBC37TRNB4IBRBCWB3OGQKGQEPLLHU4A@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4A17025E1A for <linaro@patches.linaro.org>; Tue, 11 Jun 2013 08:32:10 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id f14sf5368396qak.3 for <linaro@patches.linaro.org>; Tue, 11 Jun 2013 01:32:10 -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=sP4TG6eq+uTnrRIYom0B4j8pb9hryw0D9DPE6QdBnNs=; b=nToCo+xb80NLNEJ4zNFWY3XE6R7hkRl/Od/58vB9lsz1KvQ1U3r45vVq5qV39dmVLt meGSZ53t7F4VkTbQfU57cGpDYagR5h62MpdHi/DQMUgCs5a9pqUCPJ+4Rq0OrkGFyjhV hQ37pZTMF2Ijx6DgmStQ3OE/XKhGOVruq5U8L920uOn33l2ogGiVQ8lY0Mizwr3dcK09 DKsUEkBT6IJkDDHwlwo2FfgKNoRmBdzXn3v1JoBiB8LudFeguAkZHb/lg8KIM8nYv7LH k1BAeRUSybI/fzX71AEyWcnNMsNsvNFAYqFXzj8bqXTyUCl/arMu8IzCUu3TlZuT8DfH HaoQ== X-Received: by 10.236.42.116 with SMTP id i80mr7803688yhb.26.1370939530078; Tue, 11 Jun 2013 01:32:10 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.74.137 with SMTP id t9ls3113409qev.23.gmail; Tue, 11 Jun 2013 01:32:09 -0700 (PDT) X-Received: by 10.58.75.41 with SMTP id z9mr7527252vev.4.1370939529849; Tue, 11 Jun 2013 01:32:09 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id ha3si6538942vdb.147.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: 209.85.220.169 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.169; Received: by mail-vc0-f169.google.com with SMTP id ia10so5193685vcb.28 for <patchwork-forward@linaro.org>; Tue, 11 Jun 2013 01:32:09 -0700 (PDT) X-Received: by 10.52.53.36 with SMTP id y4mr6317670vdo.51.1370939529731; Tue, 11 Jun 2013 01:32:09 -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 pb14csp99742vcb; Tue, 11 Jun 2013 01:32:09 -0700 (PDT) X-Received: by 10.60.141.231 with SMTP id rr7mr10926494oeb.77.1370939528239; Tue, 11 Jun 2013 01:32:08 -0700 (PDT) Received: from comal.ext.ti.com (comal.ext.ti.com. [198.47.26.152]) by mx.google.com with ESMTPS id l2si12461866obu.47.2013.06.11.01.32.07 for <patches@linaro.org> (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 11 Jun 2013 01:32:08 -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 r5B8W7Jp032083; Tue, 11 Jun 2013 03:32:07 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5B8W73l017870; Tue, 11 Jun 2013 03:32:07 -0500 Received: from dlelxv22.itg.ti.com (172.17.1.197) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Tue, 11 Jun 2013 03:32:06 -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 r5B8W17I030718; Tue, 11 Jun 2013 03:32:05 -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 3/3] ARM: OMAP2+: devices: Do not print error when dss_hdmi hwmod lookup fails Date: Tue, 11 Jun 2013 10:32:00 +0200 Message-ID: <1370939520-16132-4-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: ALoCoQkFYa+HHiLfq4/gcTUEVYD4qRHjZB0exBqfPSyBOJmkj5S7CsdGaDVco6Co3izSQO6QcAza X-Original-Sender: peter.ujfalusi@ti.com X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.169 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 8f268b4..daa0ff6 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c @@ -417,10 +417,8 @@ static void __init omap_init_hdmi_audio(void) struct platform_device *pdev; oh = omap_hwmod_lookup("dss_hdmi"); - if (!oh) { - printk(KERN_ERR "Could not look up dss_hdmi hw_mod\n"); + if (!oh) return; - } pdev = omap_device_build("omap-hdmi-audio-dai", -1, oh, NULL, 0); WARN(IS_ERR(pdev),
The dss_hdmi hwmod is used to create the HDMI audio device for OMAP4+ When we boot the kernel we can silently ignore the failure since the IP does not exist on them. 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(-)