Skip to content

Commit

Permalink
usb: renesas_usbhs: fixup driver speed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kuninori Morimoto authored and Greg Kroah-Hartman committed Nov 29, 2011
1 parent 0cdd7d4 commit 89f829a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/renesas_usbhs/mod_gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 ... */
Expand Down

0 comments on commit 89f829a

Please sign in to comment.