usb: gadget: composite Allow for larger configuration descriptors
authorJoel Pepper <joel.pepper@rwth-aachen.de>
Thu, 26 Apr 2018 18:26:08 +0000 (20:26 +0200)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 27 Apr 2018 07:17:10 +0000 (10:17 +0300)
commited769520727edbf526e0f510e6c501fc6ba3824a
treefaea6a0bf2b19c28322f823f8d6e6444eb07128f
parent96bd39df29c29d348d65311e5954c0b7d3a2a790
usb: gadget: composite Allow for larger configuration descriptors

The composite framework allows us to create gadgets composed from many
different functions, which need to fit into a single configuration
descriptor.

Some functions (like uvc) can produce configuration descriptors upwards
of 2500 bytes on their own.

This patch increases the limit from 1024 bytes to 4096.

Signed-off-by: Joel Pepper <joel.pepper@rwth-aachen.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
include/linux/usb/composite.h