summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2012-08-06 10:43:13 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-11 15:51:35 -0300
commit2f65f467b410ad7285ee243336c5d16dad01e847 (patch)
treeb4e11a8f69711594102c73f5fc231b0432baf91e /drivers
parent77747f7960986e6a2210a837e6c76a68145d0bf9 (diff)
downloadtalos-op-linux-2f65f467b410ad7285ee243336c5d16dad01e847.tar.gz
talos-op-linux-2f65f467b410ad7285ee243336c5d16dad01e847.zip
[media] vivi: zero fmt.pix.priv as per spec
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/vivi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/vivi.c b/drivers/media/video/vivi.c
index cfa6a421c0a2..a6351c49bfd3 100644
--- a/drivers/media/video/vivi.c
+++ b/drivers/media/video/vivi.c
@@ -965,6 +965,7 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M;
else
f->fmt.pix.colorspace = V4L2_COLORSPACE_SRGB;
+ f->fmt.pix.priv = 0;
return 0;
}
OpenPOWER on IntegriCloud