aboutsummaryrefslogtreecommitdiff
path: root/cmd/adc.c
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2022-10-12 21:57:57 +0200
committerSimon Glass <sjg@chromium.org>2022-10-17 21:17:12 -0600
commit9244645f929bdff2ce87d1d967a78a0e05cebd80 (patch)
tree493dabe6d44f179674ea1365c4f036eb0f67ed07 /cmd/adc.c
parentf42642347120d988e7cf6986139e7ec68e36bc6b (diff)
downloadu-boot-9244645f929bdff2ce87d1d967a78a0e05cebd80.zip
u-boot-9244645f929bdff2ce87d1d967a78a0e05cebd80.tar.gz
u-boot-9244645f929bdff2ce87d1d967a78a0e05cebd80.tar.bz2
w1: Fix bus counting in w1_get_bus
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@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/adc.c')
0 files changed, 0 insertions, 0 deletions