]> git.dujemihanovic.xyz Git - u-boot.git/commit
nvme: Fix error code and log to indicate busy
authorMoritz Fischer <moritzf@google.com>
Wed, 10 Jan 2024 05:04:47 +0000 (05:04 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2024 01:24:13 +0000 (20:24 -0500)
commit5775b0f78774ceb352ca73c4a070d99d1c6dc52b
treed990bf59de88e7a8004a592c4bf9317d00e66967
parent040834703497bafb81fce88a92d8e54c8837fcaa
nvme: Fix error code and log to indicate busy

Return -EBUSY if controller is found busy rather than -ENOMEM
and update the error message accordingly.

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