]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
usb: gadget: thor: Invoke board specific USB cleanup interface
authorInha Song <ideal.song@samsung.com>
Tue, 3 Mar 2015 16:32:06 +0000 (17:32 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:47:12 +0000 (21:47 +0200)
This patch invokes board-specific USB cleanup (board_usb_cleanup)
function in the thor gadget.

Signed-off-by: Inha Song <ideal.song@samsung.com>
common/cmd_thordown.c

index 8ed1dc6f9e47a4089885b4232d85bcaa7b3ab3b6..436b7f56315eb5985016d4d597c6c8ba94959885 100644 (file)
@@ -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();