From ab6467c5f417ff1661453088f419e05fa5805fc1 Mon Sep 17 00:00:00 2001 From: Govindaraj Rajagopal Date: Fri, 13 Nov 2020 11:58:26 +0530 Subject: [PATCH] Revert "msm: vidc: handle qbuf failure in decode batching usecase" This reverts commit eb19e74fe05b7b7ab21fc29404447e4d9fc69d7c. --- msm/vidc/msm_vidc_common.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/msm/vidc/msm_vidc_common.c b/msm/vidc/msm_vidc_common.c index 3bab57959bb5..c7444042ed1b 100644 --- a/msm/vidc/msm_vidc_common.c +++ b/msm/vidc/msm_vidc_common.c @@ -4765,7 +4765,6 @@ int msm_comm_qbufs_batch(struct msm_vidc_inst *inst, { int rc = 0; struct msm_vidc_buffer *buf; - struct vb2_buffer *vb2; int do_bw_calc = 0; do_bw_calc = mbuf ? mbuf->vvb.vb2_buf.type == INPUT_MPLANE : 0; @@ -4790,11 +4789,6 @@ int msm_comm_qbufs_batch(struct msm_vidc_inst *inst, if (rc) { s_vpr_e(inst->sid, "%s: Failed batch qbuf to hfi: %d\n", __func__, rc); - if (buf != mbuf) { - vb2 = &buf->vvb.vb2_buf; - vb2_buffer_done(vb2, VB2_BUF_STATE_DONE); - msm_vidc_queue_v4l2_event(inst, V4L2_EVENT_MSM_VIDC_SYS_ERROR); - } break; } loop_end: