mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 13:14:19 +08:00
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: Troy Kisky <troy.kisky@boundarydevices.com>
This commit is contained in:
parent
5fc2e99732
commit
01773ccc0d
@ -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++) {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user