diff options
author | Keith Busch <kbusch@kernel.org> | 2022-06-13 16:45:47 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2022-06-13 19:56:56 +0200 |
commit | 2cf7a77ed5f8903606f4f7833d02d67b08650442 (patch) | |
tree | 8338877515f63f766e33f9b4c660aa632327199b /drivers/nvme/host | |
parent | nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG GAMMIX S50 (diff) | |
download | linux-2cf7a77ed5f8903606f4f7833d02d67b08650442.tar.xz linux-2cf7a77ed5f8903606f4f7833d02d67b08650442.zip |
nvme-pci: phison e12 has bogus namespace ids
Add the quirk.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216049
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host')
-rw-r--r-- | drivers/nvme/host/pci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index 631add46e439..156723d3af83 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -3461,6 +3461,8 @@ static const struct pci_device_id nvme_id_table[] = { .driver_data = NVME_QUIRK_DELAY_BEFORE_CHK_RDY | NVME_QUIRK_DISABLE_WRITE_ZEROES| NVME_QUIRK_IGNORE_DEV_SUBNQN, }, + { PCI_DEVICE(0x1987, 0x5012), /* Phison E12 */ + .driver_data = NVME_QUIRK_BOGUS_NID, }, { PCI_DEVICE(0x1987, 0x5016), /* Phison E16 */ .driver_data = NVME_QUIRK_IGNORE_DEV_SUBNQN, }, { PCI_DEVICE(0x1b4b, 0x1092), /* Lexar 256 GB SSD */ |