diff options
author | 2016-11-14 19:16:46 -0800 | |
---|---|---|
committer | 2016-11-18 13:54:48 +0200 | |
commit | 95d2b0370d3ce21796b98b41d166f6524e3610c6 (patch) | |
tree | 8a5f3451aba4b6142e5812339e7b0992f28a3c98 /tools/perf/scripts/python/stackcollapse.py | |
parent | usb: dwc2: gadget: Enable the BNA interrupt (diff) | |
download | wireguard-linux-95d2b0370d3ce21796b98b41d166f6524e3610c6.tar.xz wireguard-linux-95d2b0370d3ce21796b98b41d166f6524e3610c6.zip |
usb: dwc2: gadget: Adjust ISOC OUT request's actual len for DDMA
In DDMA mode if programmed ISOC OUT transfer length is not DWORD
aligned, after closing descriptor HW leaves value of 4 - (ureq->length %
4) in the RX bytes. This is caused because DMA works using 4B chunks.
Example: if length = 9 and all 9 bytes were received from the bus, after
xfercomplete rx_bytes value is 3. Hence add this value to the amount of
transferred bytes.
Signed-off-by: Vahram Aharonyan <vahrama@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions