aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/dwc3/core.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2017-11-03 13:23:15 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2017-12-11 12:36:52 +0200
commit8ea409044ca0f8504b69ece3ef69191aa846090b (patch)
tree43a8d6e01e313793b0c9b865368385aefd2c1a02 /drivers/usb/dwc3/core.c
parentusb: gadget: bcm63xx_udc: Use common error handling code in bcm63xx_udc_probe() (diff)
downloadwireguard-linux-8ea409044ca0f8504b69ece3ef69191aa846090b.tar.xz
wireguard-linux-8ea409044ca0f8504b69ece3ef69191aa846090b.zip
USB: dummy-hcd: don't set gadget.speed in dummy_hub_control()
There will never be a case when gadget.speed isn't already USB_SPEED_FULL if connection is not USB-3 and gadget.speed is not USB_SPEED_HIGH or USB_SPEED_LOW. Remove the unnecessary code. Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.c')
0 files changed, 0 insertions, 0 deletions