aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2022-10-10 15:38:14 -0400
committerTom Rini <trini@konsulko.com>2022-10-10 15:38:14 -0400
commitc4c32e359662aa95d9dbda2bd1272181bd9cb830 (patch)
tree69f549936a023bd2b1fada4343789ba779579570 /cmd
parent2877e9ddca83180ec1e3567f6bab3ffc380e0b60 (diff)
parent5f7e01e9d5d8005e9a8fbbdf8a05dfd63a5e5f04 (diff)
downloadu-boot-c4c32e359662aa95d9dbda2bd1272181bd9cb830.zip
u-boot-c4c32e359662aa95d9dbda2bd1272181bd9cb830.tar.gz
u-boot-c4c32e359662aa95d9dbda2bd1272181bd9cb830.tar.bz2
Merge https://source.denx.de/u-boot/custodians/u-boot-usbWIP/10Oct2022
Diffstat (limited to 'cmd')
-rw-r--r--cmd/fastboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/fastboot.c b/cmd/fastboot.c
index dd223b1..b498e4b 100644
--- a/cmd/fastboot.c
+++ b/cmd/fastboot.c
@@ -83,9 +83,9 @@ static int do_fastboot_usb(int argc, char *const argv[],
ret = CMD_RET_SUCCESS;
exit:
+ usb_gadget_release(controller_index);
g_dnl_unregister();
g_dnl_clear_detach();
- usb_gadget_release(controller_index);
return ret;
#else