Commit 91b4cb68 authored by Shuzhen Wang's avatar Shuzhen Wang Committed by Android Build Cherrypicker Worker
Browse files

BACKPORT: 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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarShuzhen Wang <shuzhenwang@google.com>
Link: https://lore.kernel.org/r/20231027183440.1994315-1-shuzhenwang@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

Bug: 301887900
(cherry picked from commit c70793fb
 https://kernel.googlesource.com/pub/scm/linux/kernel/git/gregkh/usb

 usb-next)
[arakesh: Resolved minor merge conflicts in f_uvc.c]
Signed-off-by: default avatarAvichal Rakesh <arakesh@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:d7da260d8bf5c7230ae25f4c6f25a4a69763d2c8)
Merged-In: I79c699bafaf959990da3a8101c8bfe0f8dabf72f
Change-Id: I79c699bafaf959990da3a8101c8bfe0f8dabf72f
parent dca0efe5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment