projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16f08a0
)
usb: fusb300_udc: add more "ep%d" names
author
Dan Carpenter
<error27@gmail.com>
Mon, 7 Feb 2011 17:01:36 +0000
(20:01 +0300)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 17 Feb 2011 18:47:55 +0000
(10:47 -0800)
We need FUSB300_MAX_NUM_EP (16) names otherwise the last 8 names get
initialized to garbage values in fusb300_probe().
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/fusb300_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/fusb300_udc.c
b/drivers/usb/gadget/fusb300_udc.c
index fd4fd69f5ad68dec2155450b89dd19d753d2d1d1..763d462454b9f7c4f17ddd3f0121cc7b572a8172 100644
(file)
--- a/
drivers/usb/gadget/fusb300_udc.c
+++ b/
drivers/usb/gadget/fusb300_udc.c
@@
-38,7
+38,8
@@
MODULE_ALIAS("platform:fusb300_udc");
static const char udc_name[] = "fusb300_udc";
static const char * const fusb300_ep_name[] = {
- "ep0", "ep1", "ep2", "ep3", "ep4", "ep5", "ep6", "ep7"
+ "ep0", "ep1", "ep2", "ep3", "ep4", "ep5", "ep6", "ep7", "ep8", "ep9",
+ "ep10", "ep11", "ep12", "ep13", "ep14", "ep15"
};
static void done(struct fusb300_ep *ep, struct fusb300_request *req,