1
0
Fork 0

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
Ming Qian 2020-02-21 10:42:17 +08:00
parent 00eee65de7
commit 2342e62536
1 changed files with 2 additions and 0 deletions

View File

@ -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))