diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-11-17 18:20:44 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-29 23:19:03 +0900 |
commit | 89f829a50f7d0d0f3a15c482a7a65dd0b133a5f5 (patch) | |
tree | 642c5e9697379d267e67e8856c47e5781b243388 /drivers/usb | |
parent | 0cdd7d4b66aa740ce62aeeaf7fbd495130c2864f (diff) | |
download | linux-3.10-89f829a50f7d0d0f3a15c482a7a65dd0b133a5f5.tar.gz linux-3.10-89f829a50f7d0d0f3a15c482a7a65dd0b133a5f5.tar.bz2 linux-3.10-89f829a50f7d0d0f3a15c482a7a65dd0b133a5f5.zip |
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.c | 2 |
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 2be73817e47..7f4e8033857 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, if (!driver || !driver->setup || - driver->speed != USB_SPEED_HIGH) + driver->speed < USB_SPEED_FULL) return -EINVAL; /* first hook up the driver ... */ |