From 552e2c68384f103a8fddee0ac59e6029351c059c Mon Sep 17 00:00:00 2001 From: Inha Song Date: Tue, 3 Mar 2015 17:32:06 +0100 Subject: [PATCH] usb: gadget: thor: Invoke board specific USB cleanup interface This patch invokes board-specific USB cleanup (board_usb_cleanup) function in the thor gadget. Signed-off-by: Inha Song Conflicts: common/cmd_thordown.c --- common/cmd_thordown.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c index 2dd750928..2d4f58aeb 100644 --- a/common/cmd_thordown.c +++ b/common/cmd_thordown.c @@ -57,6 +57,8 @@ 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(); return ret; -- 2.34.1