]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: move the Samsung X5 quirk entry to the core quirks
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Jun 2022 08:29:42 +0000 (10:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 23 Jun 2022 13:22:22 +0000 (15:22 +0200)
commitfc70fa8a30320d1fb3210ec3acd040ec9776935b
tree138d95ea381369ad8d69260687071b0b0f111ea9
parent85df3bc3da42f70b8badc00e0117c57a17cbfb5b
nvme: move the Samsung X5 quirk entry to the core quirks

This device shares the PCI ID with the Samsung 970 Evo Plus that
does not need or want the quirks.  Move the the quirk entry to the
core table based on the model number instead.

Fixes: a846da6b0a27 ("nvme-pci: add quirks for Samsung X5 SSDs")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Pankaj Raghav <p.raghav@samsung.com>
drivers/nvme/host/core.c
drivers/nvme/host/pci.c