This is an automatic generated email to let you know that the following patch 
were queued:

Subject: media: netup_unidvb: use PCI_EXP_DEVCTL2_COMP_TIMEOUT macro
Author:  Bjorn Helgaas <[email protected]>
Date:    Fri Dec 15 17:58:38 2017 -0500

Use the existing PCI_EXP_DEVCTL2_COMP_TIMEOUT macro instead of hard-coding
the PCIe Completion Timeout Value mask.  No functional change intended.

Signed-off-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/pci/netup_unidvb/netup_unidvb_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

diff --git a/drivers/media/pci/netup_unidvb/netup_unidvb_core.c 
b/drivers/media/pci/netup_unidvb/netup_unidvb_core.c
index 509d69e6ca4a..ead59fabd15f 100644
--- a/drivers/media/pci/netup_unidvb/netup_unidvb_core.c
+++ b/drivers/media/pci/netup_unidvb/netup_unidvb_core.c
@@ -862,7 +862,7 @@ static int netup_unidvb_initdev(struct pci_dev *pci_dev,
                PCI_EXP_DEVCTL_NOSNOOP_EN, 0);
        /* Adjust PCIe completion timeout. */
        pcie_capability_clear_and_set_word(pci_dev,
-               PCI_EXP_DEVCTL2, 0xf, 0x2);
+               PCI_EXP_DEVCTL2, PCI_EXP_DEVCTL2_COMP_TIMEOUT, 0x2);
 
        if (netup_unidvb_request_mmio(pci_dev)) {
                dev_err(&pci_dev->dev,

_______________________________________________
linuxtv-commits mailing list
[email protected]
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to