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

raoxu posted 1 patch 6 months, 2 weeks ago
drivers/usb/core/hcd-pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] usb:core:modify comments xhci_hc_driver has HCD_MEMORY just like ehci ohci
Posted by raoxu 6 months, 2 weeks ago
From: Xu Rao <raoxu@uniontech.com>

xhci_hc_driver has HCD_MEMORY attributes,need to modify the comment

Signed-off-by: Xu Rao <raoxu@uniontech.com>
---
 drivers/usb/core/hcd-pci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
index 42d5e80ed0c2..600ee50ebd2b 100644
--- a/drivers/usb/core/hcd-pci.c
+++ b/drivers/usb/core/hcd-pci.c
@@ -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