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 <ideal.song@samsung.com>
This commit is contained in:
		
							parent
							
								
									1118ecd76a
								
							
						
					
					
						commit
						375f2d785c
					
				|  | @ -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); | ||||||
| 	return CMD_RET_SUCCESS; | 	return CMD_RET_SUCCESS; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue