Commit 375f2d78 authored by Inha Song's avatar Inha Song Committed by Marek Vasut
Browse files

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: default avatarInha Song <>
parent 1118ecd7
...@@ -154,6 +154,7 @@ int do_usb_mass_storage(cmd_tbl_t *cmdtp, int flag, ...@@ -154,6 +154,7 @@ int do_usb_mass_storage(cmd_tbl_t *cmdtp, int flag,
} }
exit: exit:
g_dnl_unregister(); g_dnl_unregister();
board_usb_cleanup(controller_index, USB_INIT_DEVICE);
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment