]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAPDSS: HDMI: Make panel return dssdev register errors
authorRicardo Neri <ricardo.neri@ti.com>
Tue, 6 Nov 2012 06:19:13 +0000 (00:19 -0600)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 6 Nov 2012 11:33:35 +0000 (13:33 +0200)
Do not assume blindly that the DSS driver was registered successfully.

Signed-off-by: Ricardo Neri <ricardo.neri@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/hdmi_panel.c

index a385b69a018e665fba418ebc68d7611a2f5a8e57..dfb8eda81b61d85169e55b424fa92dbc5a7ce8c5 100644 (file)
@@ -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)