提交 dd0543ec 编写于 作者: R Robert Lukassen 提交者: Greg Kroah-Hartman

usb: gadget: Allow larger configuration descriptors

The composite framework allows gadgets with more than one function. This
can lead to situations where the configuration descriptor is larger than
the maximum of 512 bytes currently allowed by the composite framework.
This patch proposes to double that limit to 1024.
Signed-off-by: NRobert Lukassen <robert.lukassen@tomtom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 ffb865b1
......@@ -36,7 +36,7 @@
*/
/* big enough to hold our biggest descriptor */
#define USB_BUFSIZ 512
#define USB_BUFSIZ 1024
static struct usb_composite_driver *composite;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册