From 1b45b6190c97c1709f52446fd29cd47c9b2232f6 Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 14 Nov 2024 15:11:23 +0000 Subject: [PATCH] media: uvcvideo: Increase number of URBs for UVC Speculative for https://forums.raspberrypi.com/viewtopic.php?t=371104 based on a past experience with "fast" USB3 UVC devices on "slow" processors, and running out of URBs resulting in dropped image data. Signed-off-by: Dave Stevenson --- drivers/media/usb/uvc/uvcvideo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/uvc/uvcvideo.h b/drivers/media/usb/uvc/uvcvideo.h index e5b12717016fa3..12247026d1116d 100644 --- a/drivers/media/usb/uvc/uvcvideo.h +++ b/drivers/media/usb/uvc/uvcvideo.h @@ -48,7 +48,7 @@ #define DRIVER_VERSION "1.1.1" /* Number of isochronous URBs. */ -#define UVC_URBS 5 +#define UVC_URBS 16 /* Maximum number of packets per URB. */ #define UVC_MAX_PACKETS 32