diff options
author | Inha Song <ideal.song@samsung.com> | 2015-03-03 17:32:06 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-14 05:48:11 +0200 |
commit | d281730f9c5ca15c294004fd1971752016fe5a34 (patch) | |
tree | 0b130c1bbff752df6672e6e08ebcfe3b9fbf2f20 /common/cmd_thordown.c | |
parent | 375f2d785c62b5fed5bf69649395bf8b04eaf7db (diff) | |
download | u-boot-imx-d281730f9c5ca15c294004fd1971752016fe5a34.zip u-boot-imx-d281730f9c5ca15c294004fd1971752016fe5a34.tar.gz u-boot-imx-d281730f9c5ca15c294004fd1971752016fe5a34.tar.bz2 |
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 <ideal.song@samsung.com>
Diffstat (limited to 'common/cmd_thordown.c')
-rw-r--r-- | common/cmd_thordown.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c index 8ed1dc6..436b7f5 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(); |