Commit:     bc92c32aa21cf2e8808f8cff0be0a2a653652e92
Parent:     4b87361d49c04894458f4d4e80f9669abc894ae1
Author:     Wojtek Kaniewski <[EMAIL PROTECTED]>
AuthorDate: Fri Dec 8 09:39:36 2006 -0800
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Wed Dec 20 10:14:27 2006 -0800

    USB: at91_udc: allow drivers that support high speed
    This patch allows gadget drivers that support high speed (e.g. gadgetfs)
    to work properly with at91_udc.
    Fix suggested by Milan Svoboda in
    Signed-off-by: Wojtek Kaniewski <[EMAIL PROTECTED]>
    Acked-by: David Brownell <[EMAIL PROTECTED]>
    Cc: Andrew Victor <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/usb/gadget/at91_udc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c
index c8954a6..38a2e11 100644
--- a/drivers/usb/gadget/at91_udc.c
+++ b/drivers/usb/gadget/at91_udc.c
@@ -1579,7 +1579,7 @@ int usb_gadget_register_driver (struct usb_gadget_driver 
        int             retval;
        if (!driver
-                       || driver->speed != USB_SPEED_FULL
+                       || driver->speed < USB_SPEED_FULL
                        || !driver->bind
                        || !driver->setup) {
                DBG("bad parameter.\n");
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to