[media] em28xx: Fix vidioc fmt vid cap v4l2 compliance
authorAlban Browaeys <alban.browaeys@gmail.com>
Tue, 16 Jul 2013 22:06:46 +0000 (19:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 16:35:02 +0000 (13:35 -0300)
commit51dd4d70fc59564454a4dcb90d6d46d39a4a97ef
tree584a2b6daeff12496ae5480a64c6e270484501e8
parent1c9f11ed21816290a7cea36fc2dc3b16d5590340
[media] em28xx: Fix vidioc fmt vid cap v4l2 compliance

Set fmt.pix.priv to zero in vidioc_try_fmt_vid_cap.
Catched by v4l2-compliance.

Signed-off-by: Alban Browaeys <prahal@yahoo.com>
[hans.verkuil@cisco.com: dropping unnecessary change to g_fmt_vid_cap]
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-video.c