summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2017-01-21 05:01:24 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-01-21 05:01:24 -0800
commit221a27db0787d2fc275e4c4cb34e82d769e5613b (patch)
tree4f5b825b13f5ff44f2533e6544434e6a11f9bf8b
parentc13aae3157fc7b50cb22d4ddbee90fa2f01e5a83 (diff)
parent9ff38a51450949e6b0160e0a4af0927f1d1ea679 (diff)
Merge "usb: composite: Increase ep0 buffer size to 4KB"
-rw-r--r--include/linux/usb/composite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/usb/composite.h b/include/linux/usb/composite.h
index bc5637ab01df..4cde40dac778 100644
--- a/include/linux/usb/composite.h
+++ b/include/linux/usb/composite.h
@@ -55,7 +55,7 @@
#define USB_GADGET_DELAYED_STATUS 0x7fff /* Impossibly large value */
/* big enough to hold our biggest descriptor */
-#define USB_COMP_EP0_BUFSIZ 1024
+#define USB_COMP_EP0_BUFSIZ 4096
#define USB_MS_TO_HS_INTERVAL(x) (ilog2((x * 1000 / 125)) + 1)
struct usb_configuration;