diff options
author | Wojtek Kaniewski <wojtekka@toxygen.net> | 2006-12-08 12:39:36 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-20 13:14:27 -0500 |
commit | bc92c32aa21cf2e8808f8cff0be0a2a653652e92 (patch) | |
tree | a063f40061da1d6e89029d5cac7e128ac8973f2b /drivers/usb/gadget/at91_udc.c | |
parent | 4b87361d49c04894458f4d4e80f9669abc894ae1 (diff) |
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
http://marc.theaimsgroup.com/?l=linux-usb-devel&m=115822184711817
Signed-off-by: Wojtek Kaniewski <wojtekka@toxygen.net>
Acked-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/at91_udc.c')
-rw-r--r-- | 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 c8954a6ddf8c..38a2e113e705 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 *driver) | |||
1579 | int retval; | 1579 | int retval; |
1580 | 1580 | ||
1581 | if (!driver | 1581 | if (!driver |
1582 | || driver->speed != USB_SPEED_FULL | 1582 | || driver->speed < USB_SPEED_FULL |
1583 | || !driver->bind | 1583 | || !driver->bind |
1584 | || !driver->setup) { | 1584 | || !driver->setup) { |
1585 | DBG("bad parameter.\n"); | 1585 | DBG("bad parameter.\n"); |