aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMilan Svoboda <msvoboda@ra.rockwell.com>2006-05-29 06:34:00 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-21 18:04:17 -0400
commit7c0642c196beb41b7770571b8a61151bdd418bbe (patch)
tree7f117d31ede4743f56d936fef1921ab814c81fe4 /drivers
parentca094f1186ef50ef8983325072cdc4f051830f13 (diff)
[PATCH] usb gadget: allow drivers support speeds higher than full speed
This patch removes limitation which prevents use of drivers that support speeds different that full speed. Signed-off-by: Milan Svoboda <msvoboda@ra.rockwell.com> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-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