diff options
author | John Youn <John.Youn@synopsys.com> | 2016-02-05 17:07:58 -0800 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2016-03-04 15:14:26 +0200 |
commit | 59a3cedf910da4f73296172481f72c6f292b2b3a (patch) | |
tree | 2ad7ce96fb8aa5609cec07a26974a572419d8be3 | |
parent | cd69cbeb6977bbe5747b99b380007d7ec28f8095 (diff) | |
download | op-kernel-dev-59a3cedf910da4f73296172481f72c6f292b2b3a.zip op-kernel-dev-59a3cedf910da4f73296172481f72c6f292b2b3a.tar.gz |
usb: gadget: f_mass_storage: Enable SuperSpeedPlus
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>
-rw-r--r-- | drivers/usb/gadget/function/f_mass_storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/f_mass_storage.c b/drivers/usb/gadget/function/f_mass_storage.c index 321a631..ee9390b 100644 --- a/drivers/usb/gadget/function/f_mass_storage.c +++ b/drivers/usb/gadget/function/f_mass_storage.c @@ -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; |