Commit a5abdb60 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[media] pvrusb2: initialize standards mask before detecting standard

Acked-by: default avatarMike Isely <isely@pobox.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e41567a6
...@@ -230,6 +230,7 @@ static long pvr2_v4l2_do_ioctl(struct file *file, unsigned int cmd, void *arg) ...@@ -230,6 +230,7 @@ static long pvr2_v4l2_do_ioctl(struct file *file, unsigned int cmd, void *arg)
case VIDIOC_QUERYSTD: case VIDIOC_QUERYSTD:
{ {
v4l2_std_id *std = arg; v4l2_std_id *std = arg;
*std = V4L2_STD_ALL;
ret = pvr2_hdw_get_detected_std(hdw, std); ret = pvr2_hdw_get_detected_std(hdw, std);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment