]> www.infradead.org Git - users/willy/linux.git/commit
usb: gadget: Increase max configuration interface to 32
authorAkash Kumar <quic_akakum@quicinc.com>
Thu, 1 Aug 2024 05:30:03 +0000 (11:00 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 7 Aug 2024 10:50:36 +0000 (12:50 +0200)
commit08d6fd691bdd5d6e7881ce42ca6774ed92b10896
tree4d7caf60bad45c67363487061aa314bfa55fba8c
parent1380f158a8af0fa57e7db45623ec6bd9853a7ac6
usb: gadget: Increase max configuration interface to 32

Currently, max configuration interfaces are limited to 16, which fails
for compositions containing 10 UVC configurations with interrupt ep
disabled along with other configurations , and we see bind failures
while allocating interface ID in uvc bind.

Increase max configuration interface to 32 to support any large
compositions limited to same size as usb device endpoints as
interfaces cannot be more than endpoints.

Signed-off-by: Akash Kumar <quic_akakum@quicinc.com>
Link: https://lore.kernel.org/r/20240801053003.15153-1-quic_akakum@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/composite.h