Skip to content
Commit 74fe3f2e authored by Michal Simek's avatar Michal Simek
Browse files

cmd: dfu: Propagate error if dfu gadget fails



On systems without usb gadget dfu core fails which was reported by error
but command itself returns pass which breaks any usage in a script.
That's why propagate error from run_usb_dnl_gadget().

Fixes: 16297cfb ("usb: new board-specific USB init interface")
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent 4274dc39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment