]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: Allow larger configuration descriptors
authorRobert Lukassen <Robert.Lukassen@tomtom.com>
Tue, 30 Mar 2010 12:14:01 +0000 (14:14 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:36 +0000 (13:21 -0700)
commitdd0543ecc638947d67bdd3a8a41b95ed3c7b885e
tree8cd2844181e8c34d8bb66ec36217595a916fb9cd
parentffb865b1e4608cf76867f132b9e8df359fdffc91
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>
drivers/usb/gadget/composite.c