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:
Kuninori Morimoto 2011-11-17 18:20:44 -08:00 committed by Greg Kroah-Hartman
parent 0cdd7d4b66
commit 89f829a50f
1 changed files with 1 additions and 1 deletions

View File

@ -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 ... */