Skip to content

Commit

Permalink
OMAPDSS: HDMI: init output earlier
Browse files Browse the repository at this point in the history
Move hdmi driver's output initialization a bit earlier, so that it
happens before hdmi panel init. In the future the hdmi panel will depend
on the output being ready.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Archit Taneja <archit@ti.com>
  • Loading branch information
Tomi Valkeinen committed Apr 3, 2013
1 parent 2783162 commit 002d368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/omap2/dss/hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1092,6 +1092,8 @@ static int __init omapdss_hdmihw_probe(struct platform_device *pdev)
hdmi.ip_data.pll_offset = HDMI_PLLCTRL;
hdmi.ip_data.phy_offset = HDMI_PHY;

hdmi_init_output(pdev);

r = hdmi_panel_init();
if (r) {
DSSERR("can't init panel\n");
Expand All @@ -1100,8 +1102,6 @@ static int __init omapdss_hdmihw_probe(struct platform_device *pdev)

dss_debugfs_create_file("hdmi", hdmi_dump_regs);

hdmi_init_output(pdev);

hdmi_probe_pdata(pdev);

return 0;
Expand Down

0 comments on commit 002d368

Please sign in to comment.