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: submit/tizen/20160318.071304~167 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a8b4212dcf8669857cc677c77a026149eb87de19;p=profile%2Fcommon%2Fplatform%2Fkernel%2Fu-boot-artik.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 6228cee26..f7d9ec803 100644 --- a/common/cmd_usb_mass_storage.c +++ b/common/cmd_usb_mass_storage.c @@ -167,6 +167,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; }