Skip to contentSkip to conversation

gpio: pci-idio-16: Fix PCI device ID code

PATCH In review William Breathitt Gray 2 participants 2 messages Feb 7, 2017 – Feb 13, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gpio: pci-idio-16: Fix PCI device ID code

The ACCES PCI-IDIO-16 has a PCI device ID code of 0x0DC8. It is incorrect to use the PCI device ID code of the ACCES PCI-IIRO-8 (0x0F00). This patch fixes the said PCI device ID code mismatch.

Fixes 02e74fc0401a ("gpio: Add GPIO support for the ACCES PCI-IDIO-16")
---
 drivers/gpio/gpio-pci-idio-16.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpio/gpio-pci-idio-16.c +1 -1
index 0220787240ce..b10f3cf7044a 100644
@@ -331,7 +331,7 @@ static int idio_16_probe(struct pci_dev *pdev, const struct pci_device_id *id)
 }
 
 static const struct pci_device_id idio_16_pci_dev_id[] = {
-	{ PCI_DEVICE(0x494F, 0x0F00) }, { 0 }
+	{ PCI_DEVICE(0x494F, 0x0DC8) }, { 0 }
 };
 MODULE_DEVICE_TABLE(pci, idio_16_pci_dev_id);
 
Signature · 1 line
2.11.1
#1 lore raw
Quoted 6 lines · William Breathitt Gray

The ACCES PCI-IDIO-16 has a PCI device ID code of 0x0DC8. It is incorrect to use the PCI device ID code of the ACCES PCI-IIRO-8 (0x0F00). This patch fixes the said PCI device ID code mismatch.

Fixes 02e74fc0401a ("gpio: Add GPIO support for the ACCES PCI-IDIO-16")

Patch applied.

Yours,
Linus Walleij