From: Mauro Carvalho Chehab Date: Tue, 4 Oct 2011 17:16:14 +0000 (-0300) Subject: [media] pvrusb2: initialize standards mask before detecting standard X-Git-Tag: MMI-PSA29.97-13-9~18177^2~46 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a5abdb6044f558bd5da24f122d7d622f887562c7;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [media] pvrusb2: initialize standards mask before detecting standard Acked-by: Mike Isely Signed-off-by: Mauro Carvalho Chehab --- 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; }