Commit 01773ccc authored by Troy Kisky's avatar Troy Kisky Committed by Marek Vasut
Browse files

usb: gadget: mv_udc: zero transfer descriptor memory on probe



Since we flush the TD, we may as well set it to a known value.
Signed-off-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
parent 5fc2e997
......@@ -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++) {
/*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment