提交 8d621472 编写于 作者: R Richard Zhao 提交者: Mauro Carvalho Chehab

[media] media: coda: remove duplicated call of fh_to_ctx in vidioc_s_fmt_vid_out

Signed-off-by: NRichard Zhao <richard.zhao@freescale.com>
Acked-by: NJavier Martin <javier.martin@vista-silicon.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 4b961180
......@@ -501,7 +501,7 @@ static int vidioc_s_fmt_vid_out(struct file *file, void *priv,
if (ret)
return ret;
ret = vidioc_s_fmt(fh_to_ctx(priv), f);
ret = vidioc_s_fmt(ctx, f);
if (ret)
ctx->colorspace = f->fmt.pix.colorspace;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册