diff options
author | Roger Quadros <rogerq@ti.com> | 2017-11-02 11:09:17 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-12-11 12:36:52 +0200 |
commit | d855e08cf623835bc3208209cd9ab32d6c710162 (patch) | |
tree | d1786065c4c44408f8bbccbcab29461419316afa /drivers/usb/dwc3/core.c | |
parent | 8ea409044ca0f8504b69ece3ef69191aa846090b (diff) | |
download | talos-op-linux-d855e08cf623835bc3208209cd9ab32d6c710162.tar.gz talos-op-linux-d855e08cf623835bc3208209cd9ab32d6c710162.zip |
USB: dummy-hcd: Adapt dummy_udc_set_speed()
The UDC core ensures that .udc_set_speed() is called with
a speed that is a minimum of the max speeds supported
by the gadget function driver and the UDC driver.
We can now use the speed argument as is.
Get rid of the debug print as that condition will never happen.
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