OSDN Git Service

usb: gadget: mass_storage: Set max_speed to SSP
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Wed, 10 Jan 2018 21:17:13 +0000 (13:17 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 13 Mar 2018 08:47:38 +0000 (10:47 +0200)
commit28af04b4a7879a027cb23c1d616a60e31ff4af7c
tree936025b90b19ada6faf15e93aef107555ed29fc7
parent636ba13aec8a0198d3fa4e2246e291a19694b50f
usb: gadget: mass_storage: Set max_speed to SSP

Increase max_speed of the mass_storage driver for UDCs that support
SuperSpeed Plus. The composite driver will pass this value to UDC core
to set the device speed on probe (actual speed may be different
depending on whether the USB controller supports it or other external
factors).

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/legacy/mass_storage.c