projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc2e99
)
usb: gadget: mv_udc: zero transfer descriptor memory on probe
author
Troy Kisky
<troy.kisky@boundarydevices.com>
Thu, 26 Sep 2013 01:41:14 +0000
(18:41 -0700)
committer
Marek Vasut
<marex@denx.de>
Sun, 20 Oct 2013 21:42:39 +0000
(23:42 +0200)
Since we flush the TD, we may as well set it to a known value.
Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
drivers/usb/gadget/mv_udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/mv_udc.c
b/drivers/usb/gadget/mv_udc.c
index c56ccff1390de7112bc9a208e82b2e15640c43aa..f91af7eb46483a5730d7f07e0d4e64e1643b9c44 100644
(file)
--- a/
drivers/usb/gadget/mv_udc.c
+++ b/
drivers/usb/gadget/mv_udc.c
@@
-626,6
+626,7
@@
static int mvudc_probe(void)
free(controller.epts);
return -ENOMEM;
}
+ memset(controller.items_mem, 0, ilist_sz);
for (i = 0; i < 2 * NUM_ENDPOINTS; i++) {
/*