Jean THOMAS has uploaded this change for review.

View Change

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);

To view, visit change 67899. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I2cafade0ee215f8154867c595af0e9af47a32823
Gerrit-Change-Number: 67899
Gerrit-PatchSet: 1
Gerrit-Owner: Jean THOMAS <virgule@jeanthomas.me>
Gerrit-MessageType: newchange