]> Pileus Git - ~andy/linux/commitdiff
ARM: OMAP2+: devices: Do not print error when dss_hdmi hwmod lookup fails
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 11 Jun 2013 08:32:00 +0000 (10:32 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 12 Jun 2013 14:10:00 +0000 (07:10 -0700)
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>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/devices.c

index 8f268b4f443fe4f86de0d8e456ad37cb3caca908..daa0ff65f59941e24eadc5908e543a79f8d97f55 100644 (file)
@@ -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),