Commit 002d368d authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

OMAPDSS: HDMI: init output earlier



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: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: default avatarArchit Taneja <archit@ti.com>
parent 27831620
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -1092,6 +1092,8 @@ static int __init omapdss_hdmihw_probe(struct platform_device *pdev)
	hdmi.ip_data.pll_offset = HDMI_PLLCTRL;
	hdmi.ip_data.pll_offset = HDMI_PLLCTRL;
	hdmi.ip_data.phy_offset = HDMI_PHY;
	hdmi.ip_data.phy_offset = HDMI_PHY;


	hdmi_init_output(pdev);

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


	dss_debugfs_create_file("hdmi", hdmi_dump_regs);
	dss_debugfs_create_file("hdmi", hdmi_dump_regs);


	hdmi_init_output(pdev);

	hdmi_probe_pdata(pdev);
	hdmi_probe_pdata(pdev);


	return 0;
	return 0;