Commit 8d621472 authored by Richard Zhao's avatar Richard Zhao Committed by Mauro Carvalho Chehab

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

Signed-off-by: default avatarRichard Zhao <richard.zhao@freescale.com>
Acked-by: default avatarJavier Martin <javier.martin@vista-silicon.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4b961180
...@@ -501,7 +501,7 @@ static int vidioc_s_fmt_vid_out(struct file *file, void *priv, ...@@ -501,7 +501,7 @@ static int vidioc_s_fmt_vid_out(struct file *file, void *priv,
if (ret) if (ret)
return ret; return ret;
ret = vidioc_s_fmt(fh_to_ctx(priv), f); ret = vidioc_s_fmt(ctx, f);
if (ret) if (ret)
ctx->colorspace = f->fmt.pix.colorspace; ctx->colorspace = f->fmt.pix.colorspace;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment