diff options
author | Robert Lukassen <Robert.Lukassen@tomtom.com> | 2010-03-30 12:14:01 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 20:21:36 (GMT) |
commit | dd0543ecc638947d67bdd3a8a41b95ed3c7b885e (patch) | |
tree | 8cd2844181e8c34d8bb66ec36217595a916fb9cd | |
parent | ffb865b1e4608cf76867f132b9e8df359fdffc91 (diff) | |
download | linux-fsl-qoriq-dd0543ecc638947d67bdd3a8a41b95ed3c7b885e.tar.xz |
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: Robert Lukassen <robert.lukassen@tomtom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/gadget/composite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index 09289bb..5465d87 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -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; |