Jean THOMAS has uploaded this change for review. ( https://review.coreboot.org/c/flashrom/+/67899 )
Change subject: dirtyjtag: Release claimed USB interface ......................................................................
dirtyjtag: Release claimed USB interface
Change-Id: I2cafade0ee215f8154867c595af0e9af47a32823 Signed-off-by: Jean THOMAS virgule@jeanthomas.me --- M dirtyjtag_spi.c 1 file changed, 11 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/99/67899/1
diff --git a/dirtyjtag_spi.c b/dirtyjtag_spi.c index 8fdac00..d970629 100644 --- a/dirtyjtag_spi.c +++ b/dirtyjtag_spi.c @@ -109,6 +109,7 @@ static int dirtyjtag_spi_shutdown(void *data) { struct dirtyjtag_spi_data *djtag_data = (struct dirtyjtag_spi_data*)data; + libusb_release_interface(djtag_data->libusb_handle, 0); libusb_close(djtag_data->libusb_handle); libusb_exit(djtag_data->libusb_ctx); free(data);