From 806030a4e6d3d597bbd13c682004430f64b4bc20 Mon Sep 17 00:00:00 2001 From: Lourens Rozema Date: Wed, 18 Jun 2014 10:27:22 +0200 Subject: [PATCH] fel: Add release USB interface to allow proper operation on Mac OS X. Closes #24. See https://groups.google.com/forum/#!topic/linux-sunxi/sEJ1eTBoCvw Tested-by: Bernhard Nortmann Reviewed-by: Siarhei Siamashka --- fel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fel.c b/fel.c index 59f0f72..c81077f 100644 --- a/fel.c +++ b/fel.c @@ -1437,6 +1437,7 @@ int main(int argc, char **argv) aw_fel_execute(handle, uboot_entry); } + libusb_release_interface(handle, 0); #if defined(__linux__) if (iface_detached >= 0) libusb_attach_kernel_driver(handle, iface_detached);