]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: move remaining CC setup into nvme_enable_ctrl
authorChristoph Hellwig <hch@lst.de>
Sat, 28 Nov 2015 14:01:09 +0000 (15:01 +0100)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 1 Jun 2017 20:40:38 +0000 (13:40 -0700)
commit0dac74f326a81721e5ce01ef8d33d04600b8a1ee
tree5f8dde7517115a64c623b3d90656c6a55bec4101
parenta2f638ff96af8e606febe80fe500d45f40e25e57
nvme: move remaining CC setup into nvme_enable_ctrl

Remove the calculation of all the bits written into the CC register into
nvme_enable_ctrl, so that they can be moved into the core NVMe driver in
the future.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 1b2eb374651f0496b86ed5f095d4c448bff214fa)

Orabug: 25130845

Signed-off-by: Ashok Vairavan <ashok.vairavan@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/nvme/host/pci.c