cmd: dfu: Add error handling for board_usb_init
authorMichal Simek <michal.simek@xilinx.com>
Tue, 30 Aug 2016 13:32:17 +0000 (15:32 +0200)
committerMarek Vasut <marex@denx.de>
Thu, 3 Nov 2016 10:55:25 +0000 (11:55 +0100)
commitdbdc2744ee69ae9eb02bebac87e66c8f2f3ad795
treea360535645f1da8277e52252ab880199ce23e027
parentd8bdfc80da39211d95f10d24e79f2e867305f71b
cmd: dfu: Add error handling for board_usb_init

board_usb_init() can failed and error should be handled properly.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
common/dfu.c