Skip to content
Commit dfecd631 authored by Michal Suchanek's avatar Michal Suchanek Committed by Simon Glass
Browse files

dm: core: Fix uclass_probe_all to really probe all devices



uclass_probe_all uses uclass_first_device/uclass_next_device assigning
the return value.

The interface for getting meaningful error is
uclass_first_device_check/uclass_next_device_check, use it.

Also do not stop iteration when an error is encountered. Probing all
devices includes those that happen to be after a failing device in the
uclass order.

Fixes: a59153df ("dm: core: add function uclass_probe_all() to probe all devices")
Signed-off-by: default avatarMichal Suchanek <msuchanek@suse.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent e21ec17d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment