projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca094f1
)
[PATCH] usb gadget: allow drivers support speeds higher than full speed
author
Milan Svoboda
<msvoboda@ra.rockwell.com>
Mon, 29 May 2006 10:34:00 +0000
(
03:34
-0700)
committer
Greg 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/pxa2xx_udc.c
b/drivers/usb/gadget/pxa2xx_udc.c
index 680f7fc5b1717addba266f385e33a7b209ee1d7e..0a609e3dfbaef5b36ad812c8e9c25be097e7b815 100644
(file)
--- 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