Commit 806030a4 authored by Lourens Rozema's avatar Lourens Rozema Committed by Bernhard Nortmann
Browse files

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: default avatarBernhard Nortmann <bernhard.nortmann@web.de>
Reviewed-by: default avatarSiarhei Siamashka <siarhei.siamashka@gmail.com>
parent be1b4c74
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment