提交 d7ad718d 编写于 作者: J Jassi Brar 提交者: Tomi Valkeinen

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: NJassi Brar <jaswinder.singh@linaro.org>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 d3b4aa51
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册