diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-02-05 01:43:37 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 19:11:05 +0100 |
commit | 8d55662512127c84ac90873fb68ba44842e2c426 (patch) | |
tree | 925c8b8f396f52963e24caae1956af89d79b6a46 /drivers/media | |
parent | V4L/DVB: uvcvideo: Blacklist gain control for Asus EeePC T91 integrated webcam (diff) | |
download | linux-8d55662512127c84ac90873fb68ba44842e2c426.tar.xz linux-8d55662512127c84ac90873fb68ba44842e2c426.zip |
V4L/DVB: uvcvideo: Check uvc_ctrl_begin return value in VIDIOC_S_CTRL
The function return value wasn't checked due to a missing variable
assignment.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/uvc/uvc_v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/uvc/uvc_v4l2.c b/drivers/media/video/uvc/uvc_v4l2.c index bf1fc7f29ca7..43152aa52227 100644 --- a/drivers/media/video/uvc/uvc_v4l2.c +++ b/drivers/media/video/uvc/uvc_v4l2.c @@ -539,7 +539,7 @@ static long uvc_v4l2_do_ioctl(struct file *file, unsigned int cmd, void *arg) xctrl.id = ctrl->id; xctrl.value = ctrl->value; - uvc_ctrl_begin(chain); + ret = uvc_ctrl_begin(chain); if (ret < 0) return ret; |