Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344606
b: refs/heads/master
c: 4c6c65b
h: refs/heads/master
v: v3
  • Loading branch information
Tomi Valkeinen committed Oct 29, 2012
1 parent 027dd2f commit 4c4ea7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 901e5fe5a47d360a8ad6b5fbbe37e107ddb11662
refs/heads/master: 4c6c65b013a20054585dfca5cfbf3a2f6393ab50
5 changes: 3 additions & 2 deletions trunk/drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3901,6 +3901,7 @@ static void dispc_error_worker(struct work_struct *work)
bit = mgr_desc[i].sync_lost_irq;

if (bit & errors) {
int j;
struct omap_dss_device *dssdev = mgr->get_device(mgr);
bool enable;

Expand All @@ -3911,9 +3912,9 @@ static void dispc_error_worker(struct work_struct *work)
enable = dssdev->state == OMAP_DSS_DISPLAY_ACTIVE;
dssdev->driver->disable(dssdev);

for (i = 0; i < omap_dss_get_num_overlays(); ++i) {
for (j = 0; j < omap_dss_get_num_overlays(); ++j) {
struct omap_overlay *ovl;
ovl = omap_dss_get_overlay(i);
ovl = omap_dss_get_overlay(j);

if (ovl->id != OMAP_DSS_GFX &&
ovl->manager == mgr)
Expand Down

0 comments on commit 4c4ea7e

Please sign in to comment.