Skip to content

Commit

Permalink
OMAPDSS: DISPC: Use msleep instead of blocking mdelay
Browse files Browse the repository at this point in the history
We have no reason to block in the error handler workqueue, so use msleep.

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Jassi Brar authored and Tomi Valkeinen committed Aug 10, 2012
1 parent d3b4aa5 commit d7ad718
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/omap2/dss/dispc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3491,7 +3491,7 @@ static void dispc_error_worker(struct work_struct *work)
ovl->name);
dispc_ovl_enable(ovl->id, false);
dispc_mgr_go(ovl->manager->id);
mdelay(50);
msleep(50);
}
}

Expand Down Expand Up @@ -3523,7 +3523,7 @@ static void dispc_error_worker(struct work_struct *work)
}

dispc_mgr_go(mgr->id);
mdelay(50);
msleep(50);

if (enable)
dssdev->driver->enable(dssdev);
Expand Down

0 comments on commit d7ad718

Please sign in to comment.