Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 284967
b: refs/heads/master
c: a6b24f8
h: refs/heads/master
i:
  284965: bd0e745
  284963: 25ebff4
  284959: 3c8f34b
v: v3
  • Loading branch information
Tomi Valkeinen committed Dec 2, 2011
1 parent 5a56a24 commit b5ed132
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 82153eda076ee4df434bb1008f24e46590f76dfc
refs/heads/master: a6b24f83601530f69ee36ac48527336e3c79bea8
5 changes: 2 additions & 3 deletions trunk/drivers/video/omap2/dss/apply.c
Original file line number Diff line number Diff line change
Expand Up @@ -1025,16 +1025,14 @@ int dss_mgr_enable(struct omap_overlay_manager *mgr)
spin_lock_irqsave(&data_lock, flags);

mp->enabled = true;

r = dss_check_settings(mgr, mgr->device);
mp->enabled = false;
if (r) {
DSSERR("failed to enable manager %d: check_settings failed\n",
mgr->id);
goto err;
}

mp->enabled = true;

dss_mgr_setup_fifos(mgr);

dss_write_regs();
Expand All @@ -1054,6 +1052,7 @@ int dss_mgr_enable(struct omap_overlay_manager *mgr)
return 0;

err:
mp->enabled = false;
spin_unlock_irqrestore(&data_lock, flags);
mutex_unlock(&apply_lock);
return r;
Expand Down

0 comments on commit b5ed132

Please sign in to comment.