Commit 077203a7 authored by Mike Isely's avatar Mike Isely Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (4238): Make sure flags field is initialized when quering a control in pvrusb2

parent 4f1a3e5b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -525,6 +525,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file,
		}

		strlcpy(vc->name,pvr2_ctrl_get_name(cptr),sizeof(vc->name));
		vc->flags = 0;
		vc->default_value = pvr2_ctrl_get_def(cptr);
		switch (pvr2_ctrl_get_type(cptr)) {
		case pvr2_ctl_enum: