aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-11-17 21:20:44 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-29 09:19:03 -0500
commit89f829a50f7d0d0f3a15c482a7a65dd0b133a5f5 (patch)
tree642c5e9697379d267e67e8856c47e5781b243388 /drivers/usb
parent0cdd7d4b66aa740ce62aeeaf7fbd495130c2864f (diff)
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/renesas_usbhs/mod_gadget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_gadget.c b/drivers/usb/renesas_usbhs/mod_gadget.c
index 2be73817e47f..7f4e80338570 100644
--- a/drivers/usb/renesas_usbhs/mod_gadget.c
+++ b/drivers/usb/renesas_usbhs/mod_gadget.c
@@ -755,7 +755,7 @@ static int usbhsg_gadget_start(struct usb_gadget *gadget,
755 755
756 if (!driver || 756 if (!driver ||
757 !driver->setup || 757 !driver->setup ||
758 driver->speed != USB_SPEED_HIGH) 758 driver->speed < USB_SPEED_FULL)
759 return -EINVAL; 759 return -EINVAL;
760 760
761 /* first hook up the driver ... */ 761 /* first hook up the driver ... */