libsigrok/hardware
Lars-Peter Clausen 17dff8a1e6 sr: fx2lafw: Avoid unnecessary alloc/free combo
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>
2012-06-28 00:40:51 +02:00
..
alsa sr: Made the dev_config_set parameter a const pointer 2012-05-31 19:51:11 +01:00
asix-sigma sr: Made sample rate lists const 2012-05-31 19:51:11 +01:00
chronovu-la8 sr: chronovu-la8: Split code into api.c and driver.c. 2012-06-21 23:34:38 +02:00
common sr: Deleted the saleae-logic driver, fx2lafw has superceded it. 2012-04-19 00:12:22 +02:00
demo sr: Made sample rate lists const 2012-05-31 19:51:11 +01:00
fx2lafw sr: fx2lafw: Avoid unnecessary alloc/free combo 2012-06-28 00:40:51 +02:00
hantek-dso hantek-dso: add profiles for all five models in the series 2012-06-27 19:36:30 +02:00
link-mso19 sr: Made sample rate lists const 2012-05-31 19:51:11 +01:00
mastech-va18b sr: Unfinished Mastech VA18B (DMM) support. 2012-06-21 23:56:24 +02:00
openbench-logic-sniffer sr: ols: Fix incorrect comment. 2012-06-21 23:59:27 +02:00
zeroplus-logic-cube sr: backend/zeroplus: Improve debug output. 2012-06-19 23:33:50 +02:00
Makefile.am sr: Unfinished Mastech VA18B (DMM) support. 2012-06-21 23:56:24 +02:00