From: Laurent Pinchart Date: Tue, 19 Jan 2010 11:59:21 +0000 (-0300) Subject: V4L/DVB: uvcvideo: Increase the streaming control timeout to 5 seconds X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=56d15cd313d0d0d7a16c1a2e2cc519f18ab4725a;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git V4L/DVB: uvcvideo: Increase the streaming control timeout to 5 seconds 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/uvc/uvcvideo.h b/drivers/media/video/uvc/uvcvideo.h index 6aa9b2c2b685..d0d3e25e1c09 100644 --- a/drivers/media/video/uvc/uvcvideo.h +++ b/drivers/media/video/uvc/uvcvideo.h @@ -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