]> git.sur5r.net Git - u-boot/commit
USB: gadget: atmel: zero out allocated requests
authorStephen Warren <swarren@nvidia.com>
Tue, 1 Jul 2014 22:59:08 +0000 (16:59 -0600)
committerMarek Vasut <marex@denx.de>
Wed, 2 Jul 2014 13:45:38 +0000 (15:45 +0200)
commit369d3c439a39dea6020e3a5ae25821b0832822da
treeee8718c8afea97f254ae408f95c2eeee40b6b084
parent639e9903c20611772cb38433add6fe2383b9fabf
USB: gadget: atmel: zero out allocated requests

A UDC's alloc_request method should zero out the newly allocated request.
Ensure the Atmel driver does so. This issue was found by code inspection,
following the investigation of an intermittent issue with ci_udc, which
was tracked down to failing to zero out allocated requests following some
of my changes. All other UDC drivers already zero out requests in one
way or another.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/usb/gadget/atmel_usba_udc.c