NVMe: Wait for device to acknowledge shutdown
authorMatthew Wilcox <matthew.r.wilcox@intel.com>
Sat, 4 May 2013 10:43:16 +0000 (06:43 -0400)
committerMatthew Wilcox <matthew.r.wilcox@intel.com>
Wed, 8 May 2013 13:53:49 +0000 (09:53 -0400)
commitba47e3865e8023e79b670793a41508222b5f0322
treed222ea337ee683ce0a544a818d85721a71d125c9
parent78f8d2577bd79ce9d62f4d9e6d3b895bd1dd1d1d
NVMe: Wait for device to acknowledge shutdown

A recent update to the specification makes it clear that the host
is expected to wait for the device to acknowledge the Enable bit
transitioning to 0 as well as waiting for the device to acknowledge a
transition to 1.

Reported-by: Khosrow Panah <Khosrow.Panah@idt.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
drivers/block/nvme-core.c