Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd0543ec authored by Robert Lukassen's avatar Robert Lukassen Committed by Greg Kroah-Hartman
Browse files

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: default avatarRobert Lukassen <robert.lukassen@tomtom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent ffb865b1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;