summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorMilan Svoboda <msvoboda@ra.rockwell.com>2006-05-29 03:34:00 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-21 15:04:17 -0700
commit7c0642c196beb41b7770571b8a61151bdd418bbe (patch)
tree7f117d31ede4743f56d936fef1921ab814c81fe4 /drivers/usb
parentca094f1186ef50ef8983325072cdc4f051830f13 (diff)
downloadblackbird-op-linux-7c0642c196beb41b7770571b8a61151bdd418bbe.tar.gz
blackbird-op-linux-7c0642c196beb41b7770571b8a61151bdd418bbe.zip
[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/usb')
-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)
int retval;
if (!driver
- || driver->speed != USB_SPEED_FULL
+ || driver->speed < USB_SPEED_FULL
|| !driver->bind
|| !driver->unbind
|| !driver->disconnect
OpenPOWER on IntegriCloud