From: Gerhard Sittig Date: Sun, 25 Jun 2017 10:24:13 +0000 (+0200) Subject: asix-sigma: Only open the USB device once (fails with newer libftdi) X-Git-Url: http://sigrok.org/gitweb/?a=commitdiff_plain;h=1f4f98e05cd6cd2f245cdc5e0776fe8af1e092c9;hp=1f4f98e05cd6cd2f245cdc5e0776fe8af1e092c9;p=libsigrok.git asix-sigma: Only open the USB device once (fails with newer libftdi) The asix-sigma driver was reported to fail in combination with newer libftdi versions, because the firmware upload routine opened again an already opened device, and then failed to claim the interface. Which was not fatal before with previous libftdi versions. Remove the redundant open call. Remove the local FTDI context variable, which brings the firmware upload routine in line with all other calls that communicate to the USB device. This fixes bug #471. Suggested-By: Marian Cingel ---