mirror of
https://xff.cz/git/u-boot/
synced 2025-10-21 01:51:11 +02:00
dm: core: Add logging on unbind failure
This failure path is tricky to debug since it continues after failure and there are a lot of error paths. Add logging to help. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -120,10 +120,10 @@ int uclass_destroy(struct uclass *uc)
|
||||
uclass_node);
|
||||
ret = device_remove(dev, DM_REMOVE_NORMAL);
|
||||
if (ret)
|
||||
return ret;
|
||||
return log_msg_ret("remove", ret);
|
||||
ret = device_unbind(dev);
|
||||
if (ret)
|
||||
return ret;
|
||||
return log_msg_ret("unbind", ret);
|
||||
}
|
||||
|
||||
uc_drv = uc->uc_drv;
|
||||
|
Reference in New Issue
Block a user