diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-10-04 14:16:14 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-10-08 08:00:54 -0300 |
commit | a5abdb6044f558bd5da24f122d7d622f887562c7 (patch) | |
tree | b370383a53da66d553e20f7060728aed2558c476 | |
parent | e41567a61dff8f63ad7b56a325bd4d2350428999 (diff) | |
download | linux-stable-a5abdb6044f558bd5da24f122d7d622f887562c7.tar.gz linux-stable-a5abdb6044f558bd5da24f122d7d622f887562c7.tar.bz2 linux-stable-a5abdb6044f558bd5da24f122d7d622f887562c7.zip |
[media] pvrusb2: initialize standards mask before detecting standard
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 1 |
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; } |