Skip to content

Commit

Permalink
Revert "vidc: wait open done"
Browse files Browse the repository at this point in the history
This reverts commit 57be080.
  • Loading branch information
lance.zhou committed Sep 1, 2023
1 parent a857ea5 commit 54eb7b8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/media/platform/msm/vidc/msm_venc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 54eb7b8

Please sign in to comment.