dfu: scsi: don't call scsi_scan()
authorCaleb Connolly <caleb.connolly@linaro.org>
Fri, 11 Apr 2025 15:03:36 +0000 (17:03 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 24 Jun 2025 13:54:51 +0000 (07:54 -0600)
commitb946a9ff1b218ae01a7995983838f0103f178160
treec6fc14ce3d23da70934a93d6797cc6b7cef0beed
parentfe80a5f80095607d32ff7d7c0e205144aa207ef6
dfu: scsi: don't call scsi_scan()

Calling scsi_scan() results in all the block devices (and EFI block
devices) being destroyed and re-created. This breaks the EFI filesystem
drivers during capsule update.

Remove the call, since boards really should be calling scsi_scan()
themselves during board_init().

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
Link: https://lore.kernel.org/r/20250411-b4-qcom-capsule-update-improvements-v2-3-27f6b2fcc4a9@linaro.org
Signed-off-by: Casey Connolly <casey.connolly@linaro.org>
drivers/dfu/dfu_scsi.c