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>
Mon, 21 May 2018 07:36:14 +0000 (10:36 +0300)
commita665140e583caad47bd2d10a433669bb26ce3b64
tree514b34f9a17215237fb6ffa929a30146864995fe
parent05645366f3893c160bd39ca49f3fe2f2f026f58b
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