summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/config.c
diff options
context:
space:
mode:
authorLinyu Yuan <quic_linyyuan@quicinc.com>2023-08-03 11:10:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-22 14:48:33 +0200
commitdc2e6960a0a951c26c9644913db830f7a69bda89 (patch)
treefdc7127c8ad0d020a18c72443016ca5540c5ca84 /drivers/usb/gadget/config.c
parentusb: gadget: config: remove max speed check in usb_assign_descriptors() (diff)
downloadlinux-dc2e6960a0a951c26c9644913db830f7a69bda89.tar.xz
linux-dc2e6960a0a951c26c9644913db830f7a69bda89.zip
usb: gadget: composite: cleanup function config_ep_by_speed_and_alt()
When call this function, gadget already have working speed, if it is USB_SPEED_SUPER_PLUS, in theroy gadget_is_superspeed_plus() checking should be true, so there is no need to call it. it is same for other working speed. Remove all gadget_is_{*}speed_plus() API call to clean it up. Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com> Link: https://lore.kernel.org/r/20230803091053.9714-7-quic_linyyuan@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/config.c')
0 files changed, 0 insertions, 0 deletions