From: Milan Svoboda Date: Mon, 29 May 2006 10:34:00 +0000 (-0700) Subject: [PATCH] usb gadget: allow drivers support speeds higher than full speed X-Git-Tag: v2.6.18-rc1~858^2~23 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=7c0642c196beb41b7770571b8a61151bdd418bbe;p=linux-2.6-omap-h63xx.git [PATCH] usb gadget: allow drivers support speeds higher than full speed This patch removes limitation which prevents use of drivers that support speeds different that full speed. Signed-off-by: Milan Svoboda Signed-off-by: David Brownell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/pxa2xx_udc.c b/drivers/usb/gadget/pxa2xx_udc.c index 680f7fc5b17..0a609e3dfba 100644 --- a/drivers/usb/gadget/pxa2xx_udc.c +++ b/drivers/usb/gadget/pxa2xx_udc.c @@ -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