[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241003121729.3867216-2-andriy.shevchenko@linux.intel.com>
Date: Thu, 3 Oct 2024 15:14:44 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Mathias Nyman <mathias.nyman@...ux.intel.com>,
linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org
Cc: Mathias Nyman <mathias.nyman@...el.com>,
Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Subject: [PATCH v2 1/3] xhci: pci: Aling the naming for Cadence PCI ID 0x0200
Rename the PCI device ID to match what's used in another driver.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
---
drivers/usb/host/xhci-pci.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c
index 295d3297ca3d..2c148b143c54 100644
--- a/drivers/usb/host/xhci-pci.c
+++ b/drivers/usb/host/xhci-pci.c
@@ -81,7 +81,7 @@
#define PCI_DEVICE_ID_ASMEDIA_2142_XHCI 0x2142
#define PCI_DEVICE_ID_ASMEDIA_3242_XHCI 0x3242
-#define PCI_DEVICE_ID_CDNS_SSP 0x0200
+#define PCI_DEVICE_ID_CDNS_UDC 0x0200
static const char hcd_name[] = "xhci_hcd";
@@ -475,8 +475,9 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci)
if (pdev->device == 0x9203)
xhci->quirks |= XHCI_ZHAOXIN_TRB_FETCH;
}
+
if (pdev->vendor == PCI_VENDOR_ID_CDNS &&
- pdev->device == PCI_DEVICE_ID_CDNS_SSP)
+ pdev->device == PCI_DEVICE_ID_CDNS_UDC)
xhci->quirks |= XHCI_CDNS_SCTX_QUIRK;
/* xHC spec requires PCI devices to support D3hot and D3cold */
--
2.43.0.rc1.1336.g36b5255a03ac
Powered by blists - more mailing lists