Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 01079522 authored by Dan McLeran's avatar Dan McLeran Committed by Jens Axboe
Browse files

NVMe: Change nvme_enable_ctrl to set EN and manage CC thru ctrl_config.



Change the behavior of nvme_enable_ctrl to set EN.
Clear CC.SH for both nvme_enable_ctrl and nvme_disable_ctrl.
Remove reading of the CC register and manage the state in
dev->ctrl_config.

Signed-off-by: default avatarDan McLeran <daniel.mcleran@intel.com>
[removed an unwanted write to CC]
Signed-off-by: default avatarMatthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: default avatarJens Axboe <axboe@fb.com>
parent 1d090624
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