Skip to contentSkip to conversation

usb:core:modify comments xhci_hc_driver has HCD_MEMORY just like ehci ohci

PATCH New raoxu 1 participant 1 message May 29, 2025 USB

lore
Share & tools
lore

raoxu

author
#0 lore raw

PATCH 1/1 usb:core:modify comments xhci_hc_driver has HCD_MEMORY just like ehci ohci

From: Xu Rao <[email protected]>

xhci_hc_driver has HCD_MEMORY attributes,need to modify the comment

---
 drivers/usb/core/hcd-pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/core/hcd-pci.c +1 -1
index 42d5e80ed0c2..600ee50ebd2b 100644
@@ -218,7 +218,7 @@ int usb_hcd_pci_probe(struct pci_dev *dev, const struct hc_driver *driver)
 			driver->flags & (HCD_USB11 | HCD_USB3)) ? 1 : 0;
 
 	if (driver->flags & HCD_MEMORY) {
-		/* EHCI, OHCI */
+		/* XHCI, EHCI, OHCI */
 		hcd->rsrc_start = pci_resource_start(dev, 0);
 		hcd->rsrc_len = pci_resource_len(dev, 0);
 		if (!devm_request_mem_region(&dev->dev, hcd->rsrc_start,

--
2.43.4