diff options
author | Richard Zhao <richard.zhao@freescale.com> | 2012-08-21 02:47:42 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-15 09:16:33 -0300 |
commit | 8d6214724bb9623b25d7b24603c59691ce7f2b22 (patch) | |
tree | 73d338f08400f74ab00d12c79c3689ef1535af6c | |
parent | 4b961180ef275035b1538317ffd0e21e80e63e77 (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.c | 2 |
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; |