aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 dda560cd1c06..da5d8fd9b09b 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -525,6 +525,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file,
525 } 525 }
526 526
527 strlcpy(vc->name,pvr2_ctrl_get_name(cptr),sizeof(vc->name)); 527 strlcpy(vc->name,pvr2_ctrl_get_name(cptr),sizeof(vc->name));
528 vc->flags = 0;
528 vc->default_value = pvr2_ctrl_get_def(cptr); 529 vc->default_value = pvr2_ctrl_get_def(cptr);
529 switch (pvr2_ctrl_get_type(cptr)) { 530 switch (pvr2_ctrl_get_type(cptr)) {
530 case pvr2_ctl_enum: 531 case pvr2_ctl_enum: