OMAPDSS: HDMI: Make panel return dssdev register errors

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>
This commit is contained in:
Ricardo Neri 2012-11-06 00:19:13 -06:00 committed by Tomi Valkeinen
parent 47e443bce7
commit 7888839e25

View 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)