diff options
author | Wojtek Kaniewski <wojtekka@toxygen.net> | 2006-12-08 18:39:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-12-20 19:14:27 +0100 |
commit | bc92c32aa21cf2e8808f8cff0be0a2a653652e92 (patch) | |
tree | a063f40061da1d6e89029d5cac7e128ac8973f2b /drivers/usb/gadget/at91_udc.c | |
parent | USB: u132-hcd/ftdi-elan: add support for Option GT 3G Quad card (diff) | |
download | linux-bc92c32aa21cf2e8808f8cff0be0a2a653652e92.tar.xz linux-bc92c32aa21cf2e8808f8cff0be0a2a653652e92.zip |
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) int retval; if (!driver - || driver->speed != USB_SPEED_FULL + || driver->speed < USB_SPEED_FULL || !driver->bind || !driver->setup) { DBG("bad parameter.\n"); |