In receive_transfer for each completed transfer a new buffer is allocated and the old one is freed. We can avoid this by simply reusing the buffer for the next transfer. This is possible if we only resubmit the transfer after all processing on the data buffer has been done. A new buffer is only allocated if the size of the old one is not 4096 bytes. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> |
||
---|---|---|
.. | ||
alsa | ||
asix-sigma | ||
chronovu-la8 | ||
common | ||
demo | ||
fx2lafw | ||
hantek-dso | ||
link-mso19 | ||
mastech-va18b | ||
openbench-logic-sniffer | ||
zeroplus-logic-cube | ||
Makefile.am |