mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
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>
This commit is contained in:
parent
48ea231158
commit
9962d0433a
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user