From: Milan Svoboda <[EMAIL PROTECTED]>

This patch removes limitation which prevents use of drivers that support
speeds different that full speed.

This patch is against 2.6.17-rc5.

Please, CC: me because I'm not subscribed on the list.

Signed-off-by: Milan Svoboda <[EMAIL PROTECTED]>
---

--- orig/drivers/usb/gadget/pxa2xx_udc.c        2006-05-26 11:49:37.000000000 
+0000
+++ orig.bak/drivers/usb/gadget/pxa2xx_udc.c    2006-05-29 09:32:31.000000000 
+0000
@@ -1585,7 +1585,7 @@ int usb_gadget_register_driver(struct us
        int                     retval;
 
        if (!driver
-                       || driver->speed != USB_SPEED_FULL
+                       || driver->speed < USB_SPEED_FULL
                        || !driver->bind
                        || !driver->unbind
                        || !driver->disconnect



Reply via email to