summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-08-10 12:21:27 -0400
committerTom Rini <trini@konsulko.com>2019-08-10 12:21:27 -0400
commit31d136926b739b58eca0b12237481d666da66427 (patch)
tree728c59a8b1bc55943bc9211e3d5a20077f1136cb /cmd
parent9fd8b2c8c714b383b6768d53d7b46682fdf87013 (diff)
parent29a81142be960a07761f50ccae6cde766e3696d9 (diff)
Merge branch 'master' of git://git.denx.de/u-boot-usb
- DaVinci USB updates - Various OHCI fixes - Gadget fixes
Diffstat (limited to 'cmd')
-rw-r--r--cmd/thordown.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/thordown.c b/cmd/thordown.c
index 19ae6721d1..dd0544d475 100644
--- a/cmd/thordown.c
+++ b/cmd/thordown.c
@@ -37,7 +37,11 @@ int do_thor_down(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
goto exit;
}
- g_dnl_register("usb_dnl_thor");
+ ret = g_dnl_register("usb_dnl_thor");
+ if (ret) {
+ pr_err("g_dnl_register failed %d\n", ret);
+ return ret;
+ }
ret = thor_init();
if (ret) {