From: Inha Song Date: Tue, 3 Mar 2015 16:32:05 +0000 (+0100) Subject: usb: gadget: UMS: Invoke board specific USB cleanup interface X-Git-Tag: v2015.07-rc1~362 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=375f2d785c62b5fed5bf69649395bf8b04eaf7db;p=oweals%2Fu-boot.git 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 --- diff --git a/common/cmd_usb_mass_storage.c b/common/cmd_usb_mass_storage.c index 6cfee47a34..03f8be2146 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; }