mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user