mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
usb: renesas_usbhs: fixup driver speed
This patch cares latest USB_SPEED_SUPER support. renesas_usbhs can not use super-speed, but can use full/high speed. Signed-off-by: Kuninori Morimoto <[email protected]> Signed-off-by: Felipe Balbi <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
0cdd7d4b66
commit
89f829a50f
1 changed files with 1 additions and 1 deletions
|
|
@ -755,7 +755,7 @@ static int usbhsg_gadget_start(struct usb_gadget *gadget,
|
|||
|
||||
if (!driver ||
|
||||
!driver->setup ||
|
||||
driver->speed != USB_SPEED_HIGH)
|
||||
driver->speed < USB_SPEED_FULL)
|
||||
return -EINVAL;
|
||||
|
||||
/* first hook up the driver ... */
|
||||
|
|
|
|||
Loading…
Reference in a new issue