summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/cmd_thordown.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c
index 8ed1dc6f9e..436b7f5631 100644
--- a/common/cmd_thordown.c
+++ b/common/cmd_thordown.c
@@ -56,6 +56,7 @@ int do_thor_down(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
exit:
g_dnl_unregister();
+ board_usb_cleanup(controller_index, USB_INIT_DEVICE);
done:
dfu_free_entities();
OpenPOWER on IntegriCloud