Skip to content

Commit 9962d04

Browse files
Xu Raogregkh
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 48ea231 commit 9962d04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/usb/core/hcd-pci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ int usb_hcd_pci_probe(struct pci_dev *dev, const struct hc_driver *driver)
210210
hcd->amd_resume_bug = usb_hcd_amd_resume_bug(dev, driver);
211211

212212
if (driver->flags & HCD_MEMORY) {
213-
/* EHCI, OHCI */
213+
/* XHCI, EHCI, OHCI */
214214
hcd->rsrc_start = pci_resource_start(dev, 0);
215215
hcd->rsrc_len = pci_resource_len(dev, 0);
216216
if (!devm_request_mem_region(&dev->dev, hcd->rsrc_start,

0 commit comments

Comments
 (0)