diff options
Diffstat (limited to 'drivers/usb/gadget/at91_udc.c')
-rw-r--r-- | drivers/usb/gadget/at91_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c index 8efe0fa9228d..ac41f71bf9ca 100644 --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c | |||
@@ -1633,7 +1633,7 @@ static int at91_start(struct usb_gadget_driver *driver, | |||
1633 | unsigned long flags; | 1633 | unsigned long flags; |
1634 | 1634 | ||
1635 | if (!driver | 1635 | if (!driver |
1636 | || driver->speed < USB_SPEED_FULL | 1636 | || driver->max_speed < USB_SPEED_FULL |
1637 | || !bind | 1637 | || !bind |
1638 | || !driver->setup) { | 1638 | || !driver->setup) { |
1639 | DBG("bad parameter.\n"); | 1639 | DBG("bad parameter.\n"); |