libsigrok/hardware
Lars-Peter Clausen 0caa1ef0cb sr: fx2lafw: Abort pending transfers when sampling is stopped
The recent reworks of the fx2lafw made sure that the total buffer size is large
enough hold 500ms of data. This was done to improve performance and stability.
That the timeout value for a transfer was also increased to over 500ms, a side
effect of this is that when sampling is stopped there will be a additional delay
of 500ms. This is because the driver waits for all transfers to be freed
before it sends a SR_DF_END packet. Once sampling has stopped this will only
happen once a transfer times out. This patch cancels all pending transfers when
sampling is stopped, this will cause them to be freed almost immediately and the
additional delay will disappear.

Also make sure, that if we know, that we just have received the last transfer to
not resubmit this transfer again.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
2012-07-04 01:11:50 +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: use proper definitions for parity setting 2012-07-01 22:31:31 +02:00
demo sr: Made sample rate lists const 2012-05-31 19:51:11 +01:00
fx2lafw sr: fx2lafw: Abort pending transfers when sampling is stopped 2012-07-04 01:11:50 +02:00
genericdmm sr: add genericdmm driver 2012-07-01 22:37:15 +02:00
hantek-dso sr: hantek-dso: Fix copy-paste error. 2012-06-28 01:47:38 +02:00
link-mso19 sr: Made sample rate lists const 2012-05-31 19:51:11 +01:00
mastech-va18b sr: Mastech VA18B: Partial protocol supports (WIP). 2012-06-28 22:57:03 +02:00
openbench-logic-sniffer sr: use proper definitions for parity setting 2012-07-01 22:31:31 +02:00
zeroplus-logic-cube sr: backend/zeroplus: Improve debug output. 2012-06-19 23:33:50 +02:00
Makefile.am sr: add genericdmm driver 2012-07-01 22:37:15 +02:00