summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-10-04 14:16:14 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-10-08 08:00:54 -0300
commita5abdb6044f558bd5da24f122d7d622f887562c7 (patch)
treeb370383a53da66d553e20f7060728aed2558c476 /drivers/media/video/pvrusb2
parente41567a61dff8f63ad7b56a325bd4d2350428999 (diff)
downloadop-kernel-dev-a5abdb6044f558bd5da24f122d7d622f887562c7.zip
op-kernel-dev-a5abdb6044f558bd5da24f122d7d622f887562c7.tar.gz
[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')
-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 0d029da..ce7ac45 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;
}
OpenPOWER on IntegriCloud