diff options
author | Michal Suchanek <msuchanek@suse.de> | 2022-10-12 21:57:50 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-10-17 21:17:12 -0600 |
commit | dfecd631922b61a062da3d1fa6a72f9fb93c0952 (patch) | |
tree | e8fc2f82951fafc1abc5c28f3231ba946be613ce /drivers/pci/pci-uclass.c | |
parent | e21ec17d42aa086a2ab95a1ffb1bd09495b9c8e8 (diff) |
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: a59153dfeb ("dm: core: add function uclass_probe_all() to probe all devices")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/pci/pci-uclass.c')
0 files changed, 0 insertions, 0 deletions