summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Zhao <richard.zhao@freescale.com>2012-08-21 02:47:42 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-15 09:16:33 -0300
commit8d6214724bb9623b25d7b24603c59691ce7f2b22 (patch)
tree73d338f08400f74ab00d12c79c3689ef1535af6c
parent4b961180ef275035b1538317ffd0e21e80e63e77 (diff)
[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>
-rw-r--r--drivers/media/platform/coda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c
index 69085140091..69ff0d36997 100644
--- a/drivers/media/platform/coda.c
+++ b/drivers/media/platform/coda.c
@@ -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;