Commit 0e33f004 authored by Linyu Yuan's avatar Linyu Yuan Committed by Android Build Cherrypicker Worker
Browse files

UPSTREAM: usb: gadget: f_uvc: change endpoint allocation in uvc_function_bind()



when call uvc_function_bind(), gadget still have no connection speed,
just follow other gadget function, use fs endpoint descriptor to allocate
a video endpoint, remove gadget_is_{super|dual}speed() API call.

Signed-off-by: default avatarLinyu Yuan <quic_linyyuan@quicinc.com>
Link: https://lore.kernel.org/r/20230803091053.9714-4-quic_linyyuan@quicinc.com


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

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

 usb-next)
Signed-off-by: default avatarAvichal Rakesh <arakesh@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:85156cffb2200dc3da0b855320ed2861b47fc190)
Merged-In: I076e51716e4bab7a70a43ad3e080b4c4e110c9db
Change-Id: I076e51716e4bab7a70a43ad3e080b4c4e110c9db
parent 87498085
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment