diff options
author | Alban Browaeys <alban.browaeys@gmail.com> | 2013-07-17 00:06:46 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2013-07-26 18:35:02 +0200 |
commit | 51dd4d70fc59564454a4dcb90d6d46d39a4a97ef (patch) | |
tree | 584a2b6daeff12496ae5480a64c6e270484501e8 /drivers/media/usb/em28xx/em28xx-video.c | |
parent | [media] radio-aztech: Implement signal strength detection and fix stereo dete... (diff) | |
download | linux-51dd4d70fc59564454a4dcb90d6d46d39a4a97ef.tar.xz linux-51dd4d70fc59564454a4dcb90d6d46d39a4a97ef.zip |
[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>
Diffstat (limited to 'drivers/media/usb/em28xx/em28xx-video.c')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-video.c b/drivers/media/usb/em28xx/em28xx-video.c index 1a577ed8ea0c..9d103344f34a 100644 --- a/drivers/media/usb/em28xx/em28xx-video.c +++ b/drivers/media/usb/em28xx/em28xx-video.c @@ -1008,6 +1008,7 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv, else f->fmt.pix.field = dev->interlaced ? V4L2_FIELD_INTERLACED : V4L2_FIELD_TOP; + f->fmt.pix.priv = 0; return 0; } |