From: Simon Glass Date: Sat, 19 Dec 2020 17:40:18 +0000 (-0700) Subject: dm: core: Add logging when lists_bind_fdt() fails X-Git-Url: http://git.dujemihanovic.xyz/%22http:/www.sics.se/static/git-logo.png?a=commitdiff_plain;h=97e8684c84e40b04c07f6abb5f9cecedf315d0c5;p=u-boot.git dm: core: Add logging when lists_bind_fdt() fails It is useful to see the error code when this fails. Add logging for this function. Signed-off-by: Simon Glass --- diff --git a/drivers/core/lists.c b/drivers/core/lists.c index 426444db3a..e214306b90 100644 --- a/drivers/core/lists.c +++ b/drivers/core/lists.c @@ -251,7 +251,7 @@ int lists_bind_fdt(struct udevice *parent, ofnode node, struct udevice **devp, if (ret) { dm_warn("Error binding driver '%s': %d\n", entry->name, ret); - return ret; + return log_msg_ret("bind", ret); } else { found = true; if (devp)