Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575886 > unrolled thread

[PATCH] gpio: pci-idio-16: Fix PCI device ID code

Started byWilliam Breathitt Gray <vilhelm.gray@gmail.com>
First post2017-02-07 18:00 +0100
Last post2017-02-13 15:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] gpio: pci-idio-16: Fix PCI device ID code William Breathitt Gray <vilhelm.gray@gmail.com> - 2017-02-07 18:00 +0100
    Re: [PATCH] gpio: pci-idio-16: Fix PCI device ID code Linus Walleij <linus.walleij@linaro.org> - 2017-02-13 15:50 +0100

#1575886 — [PATCH] gpio: pci-idio-16: Fix PCI device ID code

FromWilliam Breathitt Gray <vilhelm.gray@gmail.com>
Date2017-02-07 18:00 +0100
Subject[PATCH] gpio: pci-idio-16: Fix PCI device ID code
Message-ID<t8hhw-5nU-19@gated-at.bofh.it>
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")
Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>
---
 drivers/gpio/gpio-pci-idio-16.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-pci-idio-16.c b/drivers/gpio/gpio-pci-idio-16.c
index 0220787240ce..b10f3cf7044a 100644
--- a/drivers/gpio/gpio-pci-idio-16.c
+++ b/drivers/gpio/gpio-pci-idio-16.c
@@ -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);
 
-- 
2.11.1

[toc] | [next] | [standalone]


#1579829

FromLinus Walleij <linus.walleij@linaro.org>
Date2017-02-13 15:50 +0100
Message-ID<taq71-4Xt-37@gated-at.bofh.it>
In reply to#1575886
On Tue, Feb 7, 2017 at 5:51 PM, William Breathitt Gray
<vilhelm.gray@gmail.com> wrote:

> 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")
> Signed-off-by: William Breathitt Gray <vilhelm.gray@gmail.com>

Patch applied.

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web