]> git.dujemihanovic.xyz Git - u-boot.git/commit
nvme: Update nvme_scan_namespace to keep trying on busy
authorMoritz Fischer <moritzf@google.com>
Wed, 10 Jan 2024 05:04:48 +0000 (05:04 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2024 01:24:13 +0000 (20:24 -0500)
commit85946d69d6f5a309564e7e89386cfcaff75d0b86
tree5abcbbc2b628b84b896a24691656855d86ff306d
parent5775b0f78774ceb352ca73c4a070d99d1c6dc52b
nvme: Update nvme_scan_namespace to keep trying on busy

A busy controller shouldn't be game-over for all controllers,
so keep trying on hitting -EBUSY.

This change brings the actual behavior of the routine in line
with what the descriptions says.

Fixes: 982388eaa991 ("nvme: Add NVM Express driver support")
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Moritz Fischer <moritzf@google.com>
drivers/nvme/nvme.c