nvme-apple: fix controller shutdown in apple_nvme_disable
authorChristoph Hellwig <hch@lst.de>
Tue, 8 Nov 2022 10:14:09 +0000 (11:14 +0100)
committerChristoph Hellwig <hch@lst.de>
Tue, 6 Dec 2022 13:36:51 +0000 (14:36 +0100)
commitc76b8308e4c9148e44e0c7e086ab6d8b4bb10162
tree5b23dcf214bb90baa720f990c64b141ac1da7f5e
parentb2969585572e5ddaa239d53ee68e2824df7a7736
nvme-apple: fix controller shutdown in apple_nvme_disable

nvme_shutdown_ctrl already shuts the controller down, there is no
need to also call nvme_disable_ctrl for the shutdown case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Hector Martin <marcan@marcan.st>
drivers/nvme/host/apple.c