Commit 369d3c439a39dea6020e3a5ae25821b0832822da
Committed by
Marek Vasut
1 parent
639e9903c2
Exists in
v2017.01-smarct4x
and in
40 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/usb/gadget/atmel_usba_udc.c