aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/gadget/at91_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c
index c8954a6ddf8c..38a2e113e705 100644
--- a/drivers/usb/gadget/at91_udc.c
+++ b/drivers/usb/gadget/at91_udc.c
@@ -1579,7 +1579,7 @@ int usb_gadget_register_driver (struct usb_gadget_driver *driver)
1579 int retval; 1579 int retval;
1580 1580
1581 if (!driver 1581 if (!driver
1582 || driver->speed != USB_SPEED_FULL 1582 || driver->speed < USB_SPEED_FULL
1583 || !driver->bind 1583 || !driver->bind
1584 || !driver->setup) { 1584 || !driver->setup) {
1585 DBG("bad parameter.\n"); 1585 DBG("bad parameter.\n");