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 <kuninori.morimoto.gx@renesas.com> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
0cdd7d4b66
commit
89f829a50f
|
@ -755,7 +755,7 @@ static int usbhsg_gadget_start(struct usb_gadget *gadget,
|
||||||
|
|
||||||
if (!driver ||
|
if (!driver ||
|
||||||
!driver->setup ||
|
!driver->setup ||
|
||||||
driver->speed != USB_SPEED_HIGH)
|
driver->speed < USB_SPEED_FULL)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
/* first hook up the driver ... */
|
/* first hook up the driver ... */
|
||||||
|
|
Loading…
Reference in New Issue