projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a8a3b1
)
USB: gadget: add INT support for Blackfin musb
author
Cliff Cai
<cliff.cai@analog.com>
Mon, 21 Dec 2009 15:42:39 +0000
(10:42 -0500)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 2 Mar 2010 22:53:28 +0000
(14:53 -0800)
Signed-off-by: Cliff Cai <cliff.cai@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/epautoconf.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/epautoconf.c
b/drivers/usb/gadget/epautoconf.c
index 4671d5d7973d78ec7f6ec548cb3cd32a83044a7b..949ebe5e4c8d8011b8f453ab61b2a6480b6edee9 100644
(file)
--- a/
drivers/usb/gadget/epautoconf.c
+++ b/
drivers/usb/gadget/epautoconf.c
@@
-284,6
+284,11
@@
struct usb_ep * __init usb_ep_autoconfig (
ep = find_ep (gadget, "ep5in");
else
ep = find_ep (gadget, "ep6out");
+ } else if (USB_ENDPOINT_XFER_INT == type) {
+ if (USB_DIR_IN & desc->bEndpointAddress)
+ ep = find_ep(gadget, "ep1in");
+ else
+ ep = find_ep(gadget, "ep2out");
} else
ep = NULL;
if (ep && ep_matches (gadget, ep, desc))