]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
usb: gadget: f_mass_storage: Enable SuperSpeedPlus
authorJohn Youn <John.Youn@synopsys.com>
Sat, 6 Feb 2016 01:07:58 +0000 (17:07 -0800)
committerFelipe Balbi <balbi@kernel.org>
Fri, 4 Mar 2016 13:14:26 +0000 (15:14 +0200)
Enable superspeed plus configuration for the mass storage gadget.

The mass storage function doesn't do anything special for
SuperSpeedPlus. Just pass in the same SuperSpeed descriptors for
SuperSpeedPlus.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/gadget/function/f_mass_storage.c

index 321a6315c696d6a54276e7de394118d9cf2bcdb5..ee9390b07c1733559c2843317a30bd7839c8c3ea 100644 (file)
@@ -3093,7 +3093,7 @@ static int fsg_bind(struct usb_configuration *c, struct usb_function *f)
        fsg_ss_bulk_out_comp_desc.bMaxBurst = max_burst;
 
        ret = usb_assign_descriptors(f, fsg_fs_function, fsg_hs_function,
-                       fsg_ss_function, NULL);
+                       fsg_ss_function, fsg_ss_function);
        if (ret)
                goto autoconf_fail;