]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit62bf9afb4183c93dc1cc7075786bbf0fa07ffd15
treefaea6a0bf2b19c28322f823f8d6e6444eb07128f
parent85f168da5d3fee9512202a41d18db9048098a8ba
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