The brute-force controller disable method can end up racing controller initialization and causing a crash when we shut down Apple ANS2 NVMe controllers. Do a proper controlled shutdown, which does block until things are quiesced properly. This is nicer in general for all controllers. Signed-off-by: Hector Martin <marcan@marcan.st> Tested-by: Mark Kettenis <kettenis@openbsd.org> (firefly-rk3399) |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| nvme-uclass.c | ||
| nvme.c | ||
| nvme.h | ||
| nvme_apple.c | ||
| nvme_pci.c | ||
| nvme_show.c | ||