Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344660
b: refs/heads/master
c: 3c91ee8
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Nov 27, 2012
1 parent 20e0aee commit 75d3d96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 15 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: 916188a46618313eedb07acac00fa575c503ff25
refs/heads/master: 3c91ee8cc9fa785ed9c4ad250d3f293f279153fe
16 changes: 2 additions & 14 deletions trunk/drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -569,20 +569,8 @@ bool dispc_mgr_go_busy(enum omap_channel channel)

void dispc_mgr_go(enum omap_channel channel)
{
bool enable_bit, go_bit;

/* if the channel is not enabled, we don't need GO */
enable_bit = mgr_fld_read(channel, DISPC_MGR_FLD_ENABLE) == 1;

if (!enable_bit)
return;

go_bit = mgr_fld_read(channel, DISPC_MGR_FLD_GO) == 1;

if (go_bit) {
DSSERR("GO bit not down for channel %d\n", channel);
return;
}
WARN_ON(dispc_mgr_is_enabled(channel) == false);
WARN_ON(dispc_mgr_go_busy(channel));

DSSDBG("GO %s\n", mgr_desc[channel].name);

Expand Down

0 comments on commit 75d3d96

Please sign in to comment.