]> git.baikalelectronics.ru Git - uboot.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)
commit47c89994833d98fb56eed5e00043074c8c80d2d3
tree703dfe2a0ebb2eacb241c19b99c96665a2d66811
parentd2f834ced03be7018cbb412c90a4d1275f19f856
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: 6de0f04837 ("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