Commit 7252db5f authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Tony Lindgren

ARM: OMAP2+: devices: Do not print error when dss_hdmi hwmod lookup fails

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: default avatarPaul Walmsley <paul@pwsan.com>
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 6d931cf8
...@@ -417,10 +417,8 @@ static void __init omap_init_hdmi_audio(void) ...@@ -417,10 +417,8 @@ static void __init omap_init_hdmi_audio(void)
struct platform_device *pdev; struct platform_device *pdev;
oh = omap_hwmod_lookup("dss_hdmi"); oh = omap_hwmod_lookup("dss_hdmi");
if (!oh) { if (!oh)
printk(KERN_ERR "Could not look up dss_hdmi hw_mod\n");
return; return;
}
pdev = omap_device_build("omap-hdmi-audio-dai", -1, oh, NULL, 0); pdev = omap_device_build("omap-hdmi-audio-dai", -1, oh, NULL, 0);
WARN(IS_ERR(pdev), WARN(IS_ERR(pdev),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment