V4L/DVB: uvcvideo: Increase the streaming control timeout to 5 seconds
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 19 Jan 2010 11:59:21 +0000 (08:59 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:11:04 +0000 (15:11 -0300)
This fixes timeout issues with some Logitech webcams. The timeout value
seems to match the one used in the Logitech Windows driver, so no
further increase should be necessary.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvcvideo.h

index 6aa9b2c2b685614d1ea37c63ee19c6a5f4543adc..d0d3e25e1c0922c9eabe76d01b6db6bef79af5ed 100644 (file)
@@ -152,7 +152,7 @@ struct uvc_xu_control {
 #define UVC_MAX_STATUS_SIZE    16
 
 #define UVC_CTRL_CONTROL_TIMEOUT       300
-#define UVC_CTRL_STREAMING_TIMEOUT     3000
+#define UVC_CTRL_STREAMING_TIMEOUT     5000
 
 /* Devices quirks */
 #define UVC_QUIRK_STATUS_INTERVAL      0x00000001