]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] vivi: zero fmt.pix.priv as per spec
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 6 Aug 2012 13:43:13 +0000 (10:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 11 Aug 2012 18:51:35 +0000 (15:51 -0300)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/vivi.c

index cfa6a421c0a2e94d3f662c11108064b2c006e251..a6351c49bfd31defc899d2dd171a7060cba876b6 100644 (file)
@@ -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;
 }