usb: gadget: uvc: Add missing initialization of ssp config descriptor
authorShuzhen Wang <shuzhenwang@google.com>
Fri, 27 Oct 2023 18:34:40 +0000 (11:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 28 Oct 2023 10:25:19 +0000 (12:25 +0200)
commitc70793fb7632a153862ee9060e6d48131469a29c
tree3dfc85c0293e03272f05b7f0e8a37294b7b10f76
parent0e3139e6543b241b3e65956a55c712333bef48ac
usb: gadget: uvc: Add missing initialization of ssp config descriptor

In case the uvc gadget is super speed plus, the corresponding config
descriptor wasn't initialized. As a result, the host will not recognize
the devices when using super speed plus connection.

This patch initializes them to super speed descriptors.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Shuzhen Wang <shuzhenwang@google.com>
Link: https://lore.kernel.org/r/20231027183440.1994315-1-shuzhenwang@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_uvc.c