Skip to content
Commit 04d2a384 authored by Bin Meng's avatar Bin Meng Committed by Tom Rini
Browse files

nvme: Respect timeout when en/disabling the controller



So far the driver unconditionally delays 10ms when en/disabling the
controller and still return 0 if 10ms times out. In fact, spec defines
a timeout value in the CAP register that is the worst case time that
host software shall wait for the controller to become ready.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent b65c6921
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment