mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
Revert "usb: gadget: f_uvc: increase the data buf of uvc_request_data"
This reverts commit 31f0ea59ba.
Change-Id: I1333abbf4215684e37d6ecf72f372ed0869af598
Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
@@ -29,11 +29,7 @@
|
||||
struct uvc_request_data
|
||||
{
|
||||
__s32 length;
|
||||
#ifdef CONFIG_USB_CONFIGFS_F_UVC_ROCKCHIP
|
||||
__u8 data[4096];
|
||||
#else
|
||||
__u8 data[60];
|
||||
#endif
|
||||
};
|
||||
|
||||
struct uvc_event
|
||||
@@ -101,12 +97,8 @@ extern unsigned int uvc_gadget_trace_param;
|
||||
*/
|
||||
|
||||
#define UVC_NUM_REQUESTS 4
|
||||
#define UVC_MAX_EVENTS 4
|
||||
#ifdef CONFIG_USB_CONFIGFS_F_UVC_ROCKCHIP
|
||||
#define UVC_MAX_REQUEST_SIZE 4100
|
||||
#else
|
||||
#define UVC_MAX_REQUEST_SIZE 64
|
||||
#endif
|
||||
#define UVC_MAX_EVENTS 4
|
||||
|
||||
/* ------------------------------------------------------------------------
|
||||
* Structures
|
||||
|
||||
Reference in New Issue
Block a user