sr: fx2lafw: Free transfers in reverse order
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 5 Jul 2012 19:38:36 +0000 (21:38 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Sun, 8 Jul 2012 19:39:30 +0000 (21:39 +0200)
commit9d61b2df2f68364cd9cd5908eabe017c2372247a
tree5ca14bb891cb496ce8273de8804af30da009bbba
parent1467cb4257a16cc0cc4237c7948c9a4aeeaf597a
sr: fx2lafw: Free transfers in reverse order

Free the USB transfers in the reverse order of which they were submitted. This
will avoid that while transfer 0 is cancelledd transfer 1 is started by the
host controller, and so on.

Reported-by: Peter Stuge <peter@stuge.se>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
libsigrok/hardware/fx2lafw/fx2lafw.c