Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Xu Rao and committed by
Greg Kroah-Hartman
9962d043 48ea2311

+1 -1
+1 -1
drivers/usb/core/hcd-pci.c
··· 210 210 hcd->amd_resume_bug = usb_hcd_amd_resume_bug(dev, driver); 211 211 212 212 if (driver->flags & HCD_MEMORY) { 213 - /* EHCI, OHCI */ 213 + /* XHCI, EHCI, OHCI */ 214 214 hcd->rsrc_start = pci_resource_start(dev, 0); 215 215 hcd->rsrc_len = pci_resource_len(dev, 0); 216 216 if (!devm_request_mem_region(&dev->dev, hcd->rsrc_start,