summaryrefslogtreecommitdiff
path: root/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-10-04 21:16:14 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-10-08 15:00:54 +0400
commita5abdb6044f558bd5da24f122d7d622f887562c7 (patch)
treeb370383a53da66d553e20f7060728aed2558c476 /drivers/media/video/pvrusb2/pvrusb2-v4l2.c
parente41567a61dff8f63ad7b56a325bd4d2350428999 (diff)
downloadlinux-a5abdb6044f558bd5da24f122d7d622f887562c7.tar.xz
[media] pvrusb2: initialize standards mask before detecting standard
Acked-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-v4l2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
index 0d029da07e6b..ce7ac4595276 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -230,6 +230,7 @@ static long pvr2_v4l2_do_ioctl(struct file *file, unsigned int cmd, void *arg)
case VIDIOC_QUERYSTD:
{
v4l2_std_id *std = arg;
+ *std = V4L2_STD_ALL;
ret = pvr2_hdw_get_detected_std(hdw, std);
break;
}