diff options
Diffstat (limited to 'drivers/usb/renesas_usbhs/mod_gadget.c')
-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 43c67e5cde26..c307c8f5bd3a 100644 --- a/drivers/usb/renesas_usbhs/mod_gadget.c +++ b/drivers/usb/renesas_usbhs/mod_gadget.c | |||
@@ -751,7 +751,7 @@ static int usbhsg_gadget_start(struct usb_gadget *gadget, | |||
751 | 751 | ||
752 | if (!driver || | 752 | if (!driver || |
753 | !driver->setup || | 753 | !driver->setup || |
754 | driver->speed < USB_SPEED_FULL) | 754 | driver->max_speed < USB_SPEED_FULL) |
755 | return -EINVAL; | 755 | return -EINVAL; |
756 | 756 | ||
757 | /* first hook up the driver ... */ | 757 | /* first hook up the driver ... */ |