mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 21:07:02 +09:00
media_modules: fixed cannot run multi dec [1/2]
PD#SWPL-1964 Problem: multi play seized up. Solution: fix fw load failed in multi dec Verify: veryfy by u212 Change-Id: Icc90e171f46b3137375456298bc8562917d4efa3 Signed-off-by: shihong.zheng <shihong.zheng@amlogic.com>
This commit is contained in:
committed by
Dongjin Kim
parent
0ceb223ea4
commit
43daee674f
@@ -2253,6 +2253,7 @@ static int vdec_core_thread(void *data)
|
||||
if ((lastvdec != vdec) && (lastvdec->mc_type != vdec->mc_type))
|
||||
vdec->mc_loaded = 0;/*clear for reload firmware*/
|
||||
}
|
||||
lastvdec = vdec;
|
||||
if (debug & 2)
|
||||
vdec->mc_loaded = 0;/*alway reload firmware*/
|
||||
vdec_set_status(vdec, VDEC_STATUS_ACTIVE);
|
||||
@@ -2280,6 +2281,7 @@ static int vdec_core_thread(void *data)
|
||||
list_for_each_entry_safe(vdec, tmp, &disconnecting_list, list) {
|
||||
list_del(&vdec->list);
|
||||
vdec_set_status(vdec, VDEC_STATUS_DISCONNECTED);
|
||||
lastvdec = NULL;
|
||||
complete(&vdec->inactive_done);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user