]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] usb gadget: allow drivers support speeds higher than full speed
authorMilan Svoboda <msvoboda@ra.rockwell.com>
Mon, 29 May 2006 10:34:00 +0000 (03:34 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:17 +0000 (15:04 -0700)
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>
drivers/usb/gadget/pxa2xx_udc.c

index 680f7fc5b1717addba266f385e33a7b209ee1d7e..0a609e3dfbaef5b36ad812c8e9c25be097e7b815 100644 (file)
@@ -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