aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorHenry Lin <[email protected]>2022-04-08 13:48:22 +0000
committerGreg Kroah-Hartman <[email protected]>2022-04-09 15:17:56 +0000
commitdc92944a014cd6a6f6c94299aaa36164dd2c238a (patch)
tree36d80bd286128f00d0b6d897468f52d9fcdb0161 /drivers/usb/cdns3/cdns3-gadget.c
parentUSB: Fix xhci event ring dequeue pointer ERDP update issue (diff)
downloadkernel-dc92944a014cd6a6f6c94299aaa36164dd2c238a.tar.gz
kernel-dc92944a014cd6a6f6c94299aaa36164dd2c238a.zip
xhci: stop polling roothubs after shutdown
While rebooting, XHCI controller and its bus device will be shut down in order by .shutdown callback. Stopping roothubs polling in xhci_shutdown() can prevent XHCI driver from accessing port status after its bus device shutdown. Take PCIe XHCI controller as example, if XHCI driver doesn't stop roothubs polling, XHCI driver may access PCIe BAR register for port status after parent PCIe root port driver is shutdown and cause PCIe bus error. [check shared hcd exist before stopping its roothub polling -Mathias] Cc: [email protected] Signed-off-by: Henry Lin <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions