diff options
author | Mike Isely <isely@pobox.com> | 2006-04-20 00:26:45 -0500 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2006-04-20 00:26:45 -0500 |
commit | aadd7cd11f4a71c38b1b4d55806a9ad24cad1828 (patch) | |
tree | 7ade2940f8693ab50c5374bbe1faaee7bac167ec | |
parent | 2e8bea8ec6176e6319293615bdd4a0fce038d561 (diff) | |
download | mediapointer-dvb-s2-aadd7cd11f4a71c38b1b4d55806a9ad24cad1828.tar.gz mediapointer-dvb-s2-aadd7cd11f4a71c38b1b4d55806a9ad24cad1828.tar.bz2 |
Fix pvrusb2 bug involving bad return on V4L query control ioctl
From: Mike Isely <isely@pobox.com>
Signed-off-by: Mike Isely <isely@pobox.com>
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 1 |
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 3701d479d..8a6e91e5a 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c @@ -545,6 +545,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file, { struct pvr2_ctrl *cptr; struct v4l2_queryctrl *vc = (struct v4l2_queryctrl *)arg; + ret = 0; cptr = pvr2_hdw_get_ctrl_v4l(hdw,vc->id); if (!cptr) { ret = -EINVAL; |