Skip to content

Commit

Permalink
[media] media: coda: remove duplicated call of fh_to_ctx in vidioc_s_…
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Richard Zhao authored and Mauro Carvalho Chehab committed Sep 15, 2012
1 parent 4b96118 commit 8d62147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/platform/coda.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 8d62147

Please sign in to comment.