Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261968
b: refs/heads/master
c: 19077a7
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Jul 25, 2011
1 parent 4baf81e commit e045c3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 700dee78dcf7665ca63122049793a96f05d4b3e3
refs/heads/master: 19077a736148360b8510fa3a45f919d1a6354b06
11 changes: 3 additions & 8 deletions trunk/drivers/video/omap2/dss/dpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -202,28 +202,24 @@ int omapdss_dpi_display_enable(struct omap_dss_device *dssdev)
goto err2;

if (dpi_use_dsi_pll(dssdev)) {
dss_clk_enable(DSS_CLK_SYSCK);
r = dsi_pll_init(dpi.dsidev, 0, 1);
if (r)
goto err3;
goto err2;
}

r = dpi_set_mode(dssdev);
if (r)
goto err4;
goto err3;

mdelay(2);

dssdev->manager->enable(dssdev->manager);

return 0;

err4:
if (dpi_use_dsi_pll(dssdev))
dsi_pll_uninit(dpi.dsidev, true);
err3:
if (dpi_use_dsi_pll(dssdev))
dss_clk_disable(DSS_CLK_SYSCK);
dsi_pll_uninit(dpi.dsidev, true);
err2:
dss_clk_disable(DSS_CLK_ICK | DSS_CLK_FCK);
if (cpu_is_omap34xx())
Expand All @@ -242,7 +238,6 @@ void omapdss_dpi_display_disable(struct omap_dss_device *dssdev)
if (dpi_use_dsi_pll(dssdev)) {
dss_select_dispc_clk_source(OMAP_DSS_CLK_SRC_FCK);
dsi_pll_uninit(dpi.dsidev, true);
dss_clk_disable(DSS_CLK_SYSCK);
}

dss_clk_disable(DSS_CLK_ICK | DSS_CLK_FCK);
Expand Down

0 comments on commit e045c3d

Please sign in to comment.