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:
parent
47e443bce7
commit
7888839e25
1 changed files with 1 additions and 3 deletions
|
@ -404,9 +404,7 @@ int hdmi_panel_init(void)
|
||||||
spin_lock_init(&hdmi.audio_lock);
|
spin_lock_init(&hdmi.audio_lock);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
omap_dss_register_driver(&hdmi_driver);
|
return omap_dss_register_driver(&hdmi_driver);
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void hdmi_panel_exit(void)
|
void hdmi_panel_exit(void)
|
||||||
|
|
Loading…
Reference in a new issue