aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXu Rao <raoxu@uniontech.com>2025-05-29 17:23:14 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-06-19 12:31:16 +0200
commit9962d0433a86c7d1222206dff1f8eafaab6faafa (patch)
tree994d2ff6fac905373941c2fea5a1ba463eae4a0e
parentinclude: fsl_devices.h: drop unused, misspelled FLS_USB2_WORKAROUND_ENGCM09152 (diff)
downloadlinux-9962d0433a86c7d1222206dff1f8eafaab6faafa.tar.gz
linux-9962d0433a86c7d1222206dff1f8eafaab6faafa.zip
usb: core: modify comments xhci_hc_driver has HCD_MEMORY just like ehci ohci
xhci_hc_driver has HCD_MEMORY attributes,need to modify the comment Signed-off-by: Xu Rao <raoxu@uniontech.com> Link: https://lore.kernel.org/r/20250529092314.135457-1-raoxu@uniontech.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/core/hcd-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
index 56b534f59907..cd223475917e 100644
--- a/drivers/usb/core/hcd-pci.c
+++ b/drivers/usb/core/hcd-pci.c
@@ -210,7 +210,7 @@ int usb_hcd_pci_probe(struct pci_dev *dev, const struct hc_driver *driver)
hcd->amd_resume_bug = usb_hcd_amd_resume_bug(dev, driver);
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,