From 97e8684c84e40b04c07f6abb5f9cecedf315d0c5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 19 Dec 2020 10:40:18 -0700 Subject: [PATCH] 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 --- drivers/core/lists.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5