projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1118ecd
)
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
Marek Vasut
<marex@denx.de>
Tue, 14 Apr 2015 03:48:11 +0000
(
05:48
+0200)
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 6cfee47a346b550e8496685aefbfa0a195cd66b4..03f8be21464716f346438e28899b2c8cbbc49bfa 100644
(file)
--- 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;
}