aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/pxa2xx_udc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pxa2xx_udc.c b/drivers/usb/gadget/pxa2xx_udc.c
index 680f7fc5b171..0a609e3dfbae 100644
--- a/drivers/usb/gadget/pxa2xx_udc.c
+++ b/drivers/usb/gadget/pxa2xx_udc.c
@@ -1585,7 +1585,7 @@ int usb_gadget_register_driver(struct usb_gadget_driver *driver)
1585 int retval; 1585 int retval;
1586 1586
1587 if (!driver 1587 if (!driver
1588 || driver->speed != USB_SPEED_FULL 1588 || driver->speed < USB_SPEED_FULL
1589 || !driver->bind 1589 || !driver->bind
1590 || !driver->unbind 1590 || !driver->unbind
1591 || !driver->disconnect 1591 || !driver->disconnect