diff options
| author | Jack Pham <jackp@codeaurora.org> | 2014-10-21 16:31:10 -0700 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2014-11-13 11:48:45 +0000 |
| commit | 18c3d7697ca125c5f6a10da75f2f4b80691d8859 (patch) | |
| tree | ac49abb756697fb84cefdf3aed2b8553287e33c5 /include/linux/average.h | |
| parent | 407ee27ac8be3993c817ade96a712205f7018aca (diff) | |
usb: dwc3: gadget: Properly initialize LINK TRB
commit 1200a82a59b6aa65758ccc92c3447b98c53cd7a2 upstream.
On ISOC endpoints the last trb_pool entry used as a
LINK TRB is not getting zeroed out correctly due to
memset being called incorrectly and in the wrong place.
If pool allocated from DMA was not zero-initialized
to begin with this will result in the size and ctrl
values being random garbage. Call memset correctly after
assignment of the trb_link pointer.
Fixes: f6bafc6a1c ("usb: dwc3: convert TRBs into bitshifts")
Signed-off-by: Jack Pham <jackp@codeaurora.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include/linux/average.h')
0 files changed, 0 insertions, 0 deletions
