Commit 23c9cd56 authored by Joel Granados's avatar Joel Granados Committed by Christoph Hellwig
Browse files

nvme: fix the CRIMS and CRWMS definitions to match the spec



Adjust the values of NVME_CAP_CRMS_CRIMS and NVME_CAP_CRMS_CRWMS masks as
they are different from the ones in TP4084 - Time-to-ready.

Fixes: 354201c5 ("nvme: add support for TP4084 - Time-to-Ready Enhancements").
Signed-off-by: default avatarJoel Granados <j.granados@samsung.com>
Reviewed-by: default avatarKeith Busch <kbusch@kernel.org>
Reviewed-by: default avatarSagi Grimberg <sagi@grimberg.me>
Reviewed-by: default avatarChaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
parent 41f38043
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -233,8 +233,8 @@ enum {
};

enum {
	NVME_CAP_CRMS_CRIMS	= 1ULL << 59,
	NVME_CAP_CRMS_CRWMS	= 1ULL << 60,
	NVME_CAP_CRMS_CRWMS	= 1ULL << 59,
	NVME_CAP_CRMS_CRIMS	= 1ULL << 60,
};

struct nvme_id_power_state {