diff options
author | Tom Rini <trini@konsulko.com> | 2019-06-17 11:27:21 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-06-17 11:27:21 -0400 |
commit | c3e8aa1a9ed5f6db7345b23a2f8f136e987ebd4d (patch) | |
tree | ebe52eaaed86f99d7f5ce1d6705f355454db54cc /common/spl/spl_sdp.c | |
parent | 77f6e2dd0551d8a825bab391a1bd6b838874bcd4 (diff) | |
parent | 220f655176de8e6aa4aaea91bb2182260d26c4a4 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-usb
- Assorted gadget fixes
Diffstat (limited to 'common/spl/spl_sdp.c')
-rw-r--r-- | common/spl/spl_sdp.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/spl/spl_sdp.c b/common/spl/spl_sdp.c index 807256e908..7fc4404971 100644 --- a/common/spl/spl_sdp.c +++ b/common/spl/spl_sdp.c @@ -17,7 +17,11 @@ static int spl_sdp_load_image(struct spl_image_info *spl_image, const int controller_index = 0; g_dnl_clear_detach(); - g_dnl_register("usb_dnl_sdp"); + ret = g_dnl_register("usb_dnl_sdp"); + if (ret) { + pr_err("SDP dnl register failed: %d\n", ret); + return ret; + } ret = sdp_init(controller_index); if (ret) { |