]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
usb: core: modify comments xhci_hc_driver has HCD_MEMORY just like ehci ohci
authorXu Rao <raoxu@uniontech.com>
Thu, 29 May 2025 09:23:14 +0000 (17:23 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2025 10:31:16 +0000 (12:31 +0200)
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>
drivers/usb/core/hcd-pci.c

index 56b534f59907403afca479980a905360e66e1614..cd223475917ef199511311eda5c6aaef073b0ad4 100644 (file)
@@ -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,