LF-840-7:[8QM_MEK/8QXP_MEK]mxc:vpu_malone:abort or stop cmd may timeout after resume from suspend when run multi h264 instance
don't block the abort when wait res change Signed-off-by: Ming Qian <ming.qian@nxp.com> Acked-by: Shijie Qin <shijie.qin@nxp.com>5.4-rM2-2.2.x-imx-squashed
parent
00eee65de7
commit
2342e62536
|
@ -4304,6 +4304,8 @@ static void vpu_api_event_handler(struct vpu_ctx *ctx, u_int32 uStrIdx, u_int32
|
|||
while (ctx->wait_res_change_done && wait_times++ < 100) {
|
||||
if (!vpu_dec_is_active(ctx))
|
||||
break;
|
||||
if (ctx->wait_rst_done)
|
||||
break;
|
||||
mdelay(10);
|
||||
}
|
||||
if (!vpu_dec_is_active(ctx))
|
||||
|
|
Loading…
Reference in New Issue