[media] media: coda: remove duplicated call of fh_to_ctx in vidioc_s_fmt_vid_out
Signed-off-by: Richard Zhao <richard.zhao@freescale.com> Acked-by: Javier Martin <javier.martin@vista-silicon.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
4b961180ef
commit
8d6214724b
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue