aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/uvc/uvc_video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/uvc/uvc_video.c')
-rw-r--r--drivers/media/usb/uvc/uvc_video.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c
index 1c15b4227bdb..57c3076a4625 100644
--- a/drivers/media/usb/uvc/uvc_video.c
+++ b/drivers/media/usb/uvc/uvc_video.c
@@ -1755,7 +1755,9 @@ int uvc_video_init(struct uvc_streaming *stream)
1755 atomic_set(&stream->active, 0); 1755 atomic_set(&stream->active, 0);
1756 1756
1757 /* Initialize the video buffers queue. */ 1757 /* Initialize the video buffers queue. */
1758 uvc_queue_init(&stream->queue, stream->type, !uvc_no_drop_param); 1758 ret = uvc_queue_init(&stream->queue, stream->type, !uvc_no_drop_param);
1759 if (ret)
1760 return ret;
1759 1761
1760 /* Alternate setting 0 should be the default, yet the XBox Live Vision 1762 /* Alternate setting 0 should be the default, yet the XBox Live Vision
1761 * Cam (and possibly other devices) crash or otherwise misbehave if 1763 * Cam (and possibly other devices) crash or otherwise misbehave if