diff options
author | Ricardo Neri <ricardo.neri@ti.com> | 2012-11-06 10:19:13 +0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2012-11-06 15:33:35 +0400 |
commit | 7888839e258ee114ca2faabbf741c5001ff668ad (patch) | |
tree | d53a4740bc0614f001d49c7ef5b667f635f91160 /drivers | |
parent | 47e443bce78472ecee8d4246ac726f0a9c19cbd1 (diff) | |
download | linux-7888839e258ee114ca2faabbf741c5001ff668ad.tar.xz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/omap2/dss/hdmi_panel.c | 4 |
1 files changed, 1 insertions, 3 deletions
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) |