]> git.baikalelectronics.ru Git - kernel.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)
commit7e6db05b1da69d6dee8086d417bc614d58fa83cb
tree8cd2844181e8c34d8bb66ec36217595a916fb9cd
parent3b14dfcf9df1aa653f0332c934682eba1ed474a8
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