Skip to content

Commit

Permalink
OMAPDSS: HDMI: Make panel return dssdev register errors
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ricardo Neri authored and Tomi Valkeinen committed Nov 6, 2012
1 parent 47e443b commit 7888839
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/video/omap2/dss/hdmi_panel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7888839

Please sign in to comment.