Skip to content

Commit

Permalink
ARM: OMAP2+: devices: Do not print error when dss_hdmi hwmod lookup f…
Browse files Browse the repository at this point in the history
…ails

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>
  • Loading branch information
Peter Ujfalusi authored and Tony Lindgren committed Jun 12, 2013
1 parent 6d931cf commit 7252db5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/arm/mach-omap2/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 7252db5

Please sign in to comment.