|
@@ -1484,7 +1484,7 @@ static int coda_open(struct file *file)
|
|
ctx->m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx,
|
|
ctx->m2m_ctx = v4l2_m2m_ctx_init(dev->m2m_dev, ctx,
|
|
&coda_queue_init);
|
|
&coda_queue_init);
|
|
if (IS_ERR(ctx->m2m_ctx)) {
|
|
if (IS_ERR(ctx->m2m_ctx)) {
|
|
- int ret = PTR_ERR(ctx->m2m_ctx);
|
|
|
|
|
|
+ ret = PTR_ERR(ctx->m2m_ctx);
|
|
|
|
|
|
v4l2_err(&dev->v4l2_dev, "%s return error (%d)\n",
|
|
v4l2_err(&dev->v4l2_dev, "%s return error (%d)\n",
|
|
__func__, ret);
|
|
__func__, ret);
|