diff options
author | Inha Song <ideal.song@samsung.com> | 2015-03-03 17:32:05 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-04-14 05:48:11 +0200 |
commit | 375f2d785c62b5fed5bf69649395bf8b04eaf7db (patch) | |
tree | 00eec1437428610bc5c0b8e5f84823aad44bd572 | |
parent | 1118ecd76af2472932873825a4d4d2f2e9e1b296 (diff) | |
download | u-boot-imx-375f2d785c62b5fed5bf69649395bf8b04eaf7db.zip u-boot-imx-375f2d785c62b5fed5bf69649395bf8b04eaf7db.tar.gz u-boot-imx-375f2d785c62b5fed5bf69649395bf8b04eaf7db.tar.bz2 |
usb: gadget: UMS: Invoke board specific USB cleanup interface
This patch invokes board-specific USB cleanup (board_usb_cleanup)
function in the mass storage gadget
Signed-off-by: Inha Song <ideal.song@samsung.com>
-rw-r--r-- | common/cmd_usb_mass_storage.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/cmd_usb_mass_storage.c b/common/cmd_usb_mass_storage.c index 6cfee47..03f8be2 100644 --- a/common/cmd_usb_mass_storage.c +++ b/common/cmd_usb_mass_storage.c @@ -154,6 +154,7 @@ int do_usb_mass_storage(cmd_tbl_t *cmdtp, int flag, } exit: g_dnl_unregister(); + board_usb_cleanup(controller_index, USB_INIT_DEVICE); return CMD_RET_SUCCESS; } |