We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92f1b24 commit 9f89c88Copy full SHA for 9f89c88
drivers/media/platform/mtk-vcodec/mtk_vcodec_enc_drv.c
@@ -214,11 +214,11 @@ static int fops_vcodec_release(struct file *file)
214
mtk_v4l2_debug(1, "[%d] encoder", ctx->id);
215
mutex_lock(&dev->dev_mutex);
216
217
+ v4l2_m2m_ctx_release(ctx->m2m_ctx);
218
mtk_vcodec_enc_release(ctx);
219
v4l2_fh_del(&ctx->fh);
220
v4l2_fh_exit(&ctx->fh);
221
v4l2_ctrl_handler_free(&ctx->ctrl_hdl);
- v4l2_m2m_ctx_release(ctx->m2m_ctx);
222
223
list_del_init(&ctx->list);
224
kfree(ctx);
0 commit comments