]> git.baikalelectronics.ru Git - uboot.git/commit
usb: storage: call device_probe() after scanning
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Tue, 8 Mar 2022 11:36:40 +0000 (20:36 +0900)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 9 Apr 2022 19:06:31 +0000 (21:06 +0200)
commit09afb1fbbd3d0b6cd5f6ea87cd3e734c51b71dfc
treeaee5718f65e7c34e40d286c97a5f5674fff56e4e
parent506afa22b06544ae9b99a2c0a894a75de16680c2
usb: storage: call device_probe() after scanning

Every time a usb bus/port is scanned and a new device is detected,
we want to call device_probe() as it will give us a chance to run
additional post-processings for some purposes.

In particular, support for creating partitions on a device will be added.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/usb_storage.c