From 54eb7b87eacf6d25ad2ee24c79345014a49fcf0b Mon Sep 17 00:00:00 2001 From: "lance.zhou" Date: Fri, 1 Sep 2023 14:02:13 +0800 Subject: [PATCH] Revert "vidc: wait open done" This reverts commit 57be0803353dd6e498f2b06e904fcb3988aef337. --- drivers/media/platform/msm/vidc/msm_venc.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/drivers/media/platform/msm/vidc/msm_venc.c b/drivers/media/platform/msm/vidc/msm_venc.c index aa3837f5f263..3a23ee7194d3 100644 --- a/drivers/media/platform/msm/vidc/msm_venc.c +++ b/drivers/media/platform/msm/vidc/msm_venc.c @@ -4332,12 +4332,6 @@ int msm_venc_s_fmt(struct msm_vidc_inst *inst, struct v4l2_format *f) goto exit; } - rc = msm_comm_try_state(inst, MSM_VIDC_OPEN_DONE); - if (rc) { - dprintk(VIDC_ERR, "Failed to open instance\n"); - goto exit; - } - frame_sz.buffer_type = HAL_BUFFER_INPUT; frame_sz.width = inst->prop.width[OUTPUT_PORT]; frame_sz.height = inst->prop.height[OUTPUT_PORT];