From: Ricardo Neri Date: Tue, 6 Nov 2012 06:19:13 +0000 (-0600) Subject: OMAPDSS: HDMI: Make panel return dssdev register errors X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7888839e258ee114ca2faabbf741c5001ff668ad;p=linux-beck.git OMAPDSS: HDMI: Make panel return dssdev register errors Do not assume blindly that the DSS driver was registered successfully. Signed-off-by: Ricardo Neri Signed-off-by: Tomi Valkeinen --- diff --git a/drivers/video/omap2/dss/hdmi_panel.c b/drivers/video/omap2/dss/hdmi_panel.c index a385b69a018e..dfb8eda81b61 100644 --- a/drivers/video/omap2/dss/hdmi_panel.c +++ b/drivers/video/omap2/dss/hdmi_panel.c @@ -404,9 +404,7 @@ int hdmi_panel_init(void) spin_lock_init(&hdmi.audio_lock); #endif - omap_dss_register_driver(&hdmi_driver); - - return 0; + return omap_dss_register_driver(&hdmi_driver); } void hdmi_panel_exit(void)