summaryrefslogtreecommitdiff
path: root/drivers/usb/class
diff options
context:
space:
mode:
authorLinyu Yuan <quic_linyyuan@quicinc.com>2023-08-03 12:10:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-08-22 15:48:33 +0300
commit4dfdd90b85f811fc2cbae0d5f87a8d3e9bee9b17 (patch)
treef581595c4ce3fea8a4221913544d19a31a67222d /drivers/usb/class
parent46decc82ffd54212cc2c600031daec6e835a6503 (diff)
downloadlinux-4dfdd90b85f811fc2cbae0d5f87a8d3e9bee9b17.tar.xz
usb: gadget: config: remove max speed check in usb_assign_descriptors()
usb_assign_descriptors() usally called inside function bind operation, and gadget still have no working connection speed, let's support all speed at this point, it may possible allocate extra memory to store descriptors, but it is small and acceptable. Remove gadget_is_{*}speed() API checking to allow support all speed. Signed-off-by: Linyu Yuan <quic_linyyuan@quicinc.com> Link: https://lore.kernel.org/r/20230803091053.9714-6-quic_linyyuan@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/class')
0 files changed, 0 insertions, 0 deletions