]> 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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jun 2022 07:03:26 +0000 (09:03 +0200)
commite200975b7cfd6594279fde50de3e475462a606e6
tree394c009a60214ac01d7cef5d493c4177a3305376
parente72c82a8f3f5f4c18bd21c75b92aaa47db5ad582
nvme: move the Samsung X5 quirk entry to the core quirks

[ Upstream commit fc70fa8a30320d1fb3210ec3acd040ec9776935b ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/nvme/host/core.c
drivers/nvme/host/pci.c