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 <sjg@chromium.org>
This commit is contained in:
Simon Glass 2020-12-19 10:40:18 -07:00
parent 8a715530bb
commit 97e8684c84
1 changed files with 1 additions and 1 deletions

View File

@ -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)