vdec: optimize vdec_core_thread

PD#165213: optimize vdec_core_thread to fix vts timeout issue [1/2]

Change-Id: I8214d0a69b71f1bed8fb21d5bbb5694f95649880
Signed-off-by: Yao.Liu <yao.liu@amlogic.com>
This commit is contained in:
Yao.Liu
2018-05-25 16:57:16 +08:00
committed by Dongjin Kim
parent 730972d592
commit 33f847bf31

View File

@@ -2203,7 +2203,7 @@ static int vdec_core_thread(void *data)
* is running, sleep 20ms
*/
if ((!worker) && (!core->sched_mask)) {
msleep(20);
usleep_range(1000, 2000);
up(&core->sem);
}