summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2006-06-25 18:04:37 -0500
committerMike Isely <isely@pobox.com>2006-06-25 18:04:37 -0500
commit24cb66707a7281272bbb6a73c60ddca94eb5d6a7 (patch)
tree460226b46f36d2ea0c44364a13a93eb7e1d84761 /linux/drivers/media/video
parent3b5520de57f512674e3c4814cbec2431d5399180 (diff)
downloadmediapointer-dvb-s2-24cb66707a7281272bbb6a73c60ddca94eb5d6a7.tar.gz
mediapointer-dvb-s2-24cb66707a7281272bbb6a73c60ddca94eb5d6a7.tar.bz2
Make sure flags field is initialized when quering a control in pvrusb2
From: Mike Isely <isely@pobox.com> Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
index 123895d6f..3eacc187f 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -541,6 +541,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: