Commit 56d15cd3 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab

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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent e070bf9e
...@@ -152,7 +152,7 @@ struct uvc_xu_control { ...@@ -152,7 +152,7 @@ struct uvc_xu_control {
#define UVC_MAX_STATUS_SIZE 16 #define UVC_MAX_STATUS_SIZE 16
#define UVC_CTRL_CONTROL_TIMEOUT 300 #define UVC_CTRL_CONTROL_TIMEOUT 300
#define UVC_CTRL_STREAMING_TIMEOUT 3000 #define UVC_CTRL_STREAMING_TIMEOUT 5000
/* Devices quirks */ /* Devices quirks */
#define UVC_QUIRK_STATUS_INTERVAL 0x00000001 #define UVC_QUIRK_STATUS_INTERVAL 0x00000001
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment