commit | dff7df7ce5778edf2aac3ce3b5834ba79915aa7d | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Tue Aug 22 08:15:11 2017 -0700 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 28 07:17:12 2017 -0400 |
tree | 8e7a8f85fad4e1eefde64dd0a0b62b766af269f6 | |
parent | f03e5fc49d011c95b1f6eae6f40941fc8b493ad9 [diff] |
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: Bin Meng <bmeng.cn@gmail.com>