diff --git a/drivers/nvme/host/apple.c b/drivers/nvme/host/apple.c index e13a992b609613..82396f9486e1f0 100644 --- a/drivers/nvme/host/apple.c +++ b/drivers/nvme/host/apple.c @@ -867,7 +867,9 @@ static void apple_nvme_disable(struct apple_nvme *anv, bool shutdown) apple_nvme_remove_cq(anv); } - nvme_disable_ctrl(&anv->ctrl, shutdown); + if (shutdown) + nvme_disable_ctrl(&anv->ctrl, true); + nvme_disable_ctrl(&anv->ctrl, false); } WRITE_ONCE(anv->ioq.enabled, false);