Revert "FROMLIST: USB: gadget: f_fs: add SuperSpeed Plus support"

This reverts commit cac70628fb.

This functionality is provided by upstream commit:

  a353397b0d ("usb: gadget: f_fs: Re-use SS descriptors for SuperSpeedPlus")

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Change-Id: I02ad16f4ac031f87e1567c00daaa3f6213a0a06d
(cherry picked from commit 4e307150ee18c9b1b491e4885c93ddc5f495eeee)
This commit is contained in:
Lee Jones
2021-05-21 10:19:20 +01:00
committed by Denis Hsu
parent 4e6242598d
commit 5f10883630

View File

@@ -3227,10 +3227,6 @@ static int _ffs_func_bind(struct usb_configuration *c,
func->function.os_desc_n =
c->cdev->use_os_string ? ffs->interfaces_count : 0;
if (likely(super)) {
func->function.ssp_descriptors =
usb_copy_descriptors(func->function.ss_descriptors);
}
/* And we're done */
ffs_event_add(ffs, FUNCTIONFS_BIND);
return 0;