mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-12-15 22:42:08 +01:00
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:
parent
8a715530bb
commit
97e8684c84
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user