summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/function/u_uac2.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/function/u_uac2.h')
-rw-r--r--drivers/usb/gadget/function/u_uac2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/gadget/function/u_uac2.h b/drivers/usb/gadget/function/u_uac2.h
index 13589c3c805c..179d3ef6a195 100644
--- a/drivers/usb/gadget/function/u_uac2.h
+++ b/drivers/usb/gadget/function/u_uac2.h
@@ -23,6 +23,7 @@
#define UAC2_DEF_CSSIZE 2
#define UAC2_DEF_CSYNC USB_ENDPOINT_SYNC_ASYNC
#define UAC2_DEF_REQ_NUM 2
+#define UAC2_DEF_FB_MAX 5
struct f_uac2_opts {
struct usb_function_instance func_inst;
@@ -34,6 +35,7 @@ struct f_uac2_opts {
int c_ssize;
int c_sync;
int req_number;
+ int fb_max;
bool bound;
struct mutex lock;