From: Hans Verkuil Date: Mon, 6 Aug 2012 13:43:13 +0000 (-0300) Subject: [media] vivi: zero fmt.pix.priv as per spec X-Git-Tag: next-20120816~66^2^2~51 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=2f65f467b410ad7285ee243336c5d16dad01e847;p=karo-tx-linux.git [media] vivi: zero fmt.pix.priv as per spec Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- 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; }