]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: blk: Add probe in blk_first_device/blk_next_device
authorMichal Suchanek <msuchanek@suse.de>
Tue, 27 Sep 2022 21:23:53 +0000 (23:23 +0200)
committerSimon Glass <sjg@chromium.org>
Mon, 7 Nov 2022 23:24:30 +0000 (16:24 -0700)
commit168a0e45fcf49194fca55795f84a844f16b480f6
tree703dfe2a0ebb2eacb241c19b99c96665a2d66811
parent499503e1578fe385e820170af78525ea2f799a4c
dm: blk: Add probe in blk_first_device/blk_next_device

The description claims that the device is probed but it isn't.

Add the device_probe() call.

Also consolidate the iteration into one function.

Fixes: 8a5cbc065d ("dm: blk: Use uclass_find_first/next_device() in blk_first/next_device()")
Signed-off-by: Michal Suchanek <msuchanek@suse.de>
drivers/block/blk-uclass.c