* [PATCH] usb:core:modify comments xhci_hc_driver has HCD_MEMORY just like ehci ohci
@ 2025-05-29 9:23 raoxu
0 siblings, 0 replies; only message in thread
From: raoxu @ 2025-05-29 9:23 UTC (permalink / raw)
To: gregkh; +Cc: linux-usb, linux-kernel, wangyuli, Xu Rao
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-05-29 9:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-29 9:23 [PATCH] usb:core:modify comments xhci_hc_driver has HCD_MEMORY just like ehci ohci raoxu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®