Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184856
b: refs/heads/master
c: e296264
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Feb 15, 2010
1 parent bd39ba2 commit f5fba38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 6eed73debf5840a42ebe9ea90958d2ce4a38c6b0
refs/heads/master: e296264977f68ddf395b8f93f8e174930f88499a
4 changes: 3 additions & 1 deletion trunk/drivers/video/omap2/dss/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,11 @@ static void dss_clk_enable_no_ctx(enum dss_clock clks)

void dss_clk_enable(enum dss_clock clks)
{
bool check_ctx = core.num_clks_enabled == 0;

dss_clk_enable_no_ctx(clks);

if (cpu_is_omap34xx() && dss_need_ctx_restore())
if (check_ctx && cpu_is_omap34xx() && dss_need_ctx_restore())
restore_all_ctx();
}

Expand Down

0 comments on commit f5fba38

Please sign in to comment.