[PATCH v6 08/20] w1: Fix bus counting in w1_get_bus
Simon Glass
sjg at chromium.org
Mon Oct 17 23:29:20 CEST 2022
Use uclass_first_device_check/uclass_next_device_check to correctly
count buses that fail to probe.
Fixes: d3e19cf919 ("w1: Add 1-Wire uclass")
Signed-off-by: Michal Suchanek <msuchanek at suse.de>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
drivers/w1/w1-uclass.c | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list