mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 17:17:04 -04:00
OMAPDSS: DISPC: Use msleep instead of blocking mdelay
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>
This commit is contained in:
committed by
Tomi Valkeinen
parent
d3b4aa519c
commit
d7ad718d35
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user