projects
/
profile
/
common
/
platform
/
kernel
/
u-boot-artik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5bd55d
)
usb: gadget: UMS: Invoke board specific USB cleanup interface
author
Inha Song
<ideal.song@samsung.com>
Tue, 3 Mar 2015 16:32:05 +0000
(17:32 +0100)
committer
Chanho Park
<chanho61.park@samsung.com>
Fri, 24 Jul 2015 07:30:12 +0000
(16:30 +0900)
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>
common/cmd_usb_mass_storage.c
patch
|
blob
|
history
diff --git
a/common/cmd_usb_mass_storage.c
b/common/cmd_usb_mass_storage.c
index 6228cee269881a6a022683d7b55438ce71534e34..f7d9ec80317b7fc5e01bd5272bd9f8376d742519 100644
(file)
--- 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;
}