common: cmd_dfu: invoke board_usb_cleanup() for cleaning up
authorKishon Vijay Abraham I <kishon@ti.com>
Mon, 23 Feb 2015 13:10:18 +0000 (18:40 +0530)
committerMarek Vasut <marex@denx.de>
Tue, 14 Apr 2015 03:48:11 +0000 (05:48 +0200)
commitdb378d786df0675aa6fc795a2198d000fddd33cc
treefcd23aab7385c927ef239d4a77dacedee470274c
parent04afd5b59b2edcb0bd035f126bdbe27c31782772
common: cmd_dfu: invoke board_usb_cleanup() for cleaning up

Invoked board_usb_cleanup for cleaning up initialized USB. It
will be invoked if the user enterts ctrl-C.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Lukasz Majewski <l.majewski@samsung.com>
common/cmd_dfu.c
common/usb.c