mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 04:48:04 +09:00
usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
am: cf09c7d60c
Change-Id: I5cab1e3af61dd148ff737ba1dc68935407342983
This commit is contained in:
@@ -213,6 +213,8 @@ static int xhci_plat_remove(struct platform_device *dev)
|
||||
struct xhci_hcd *xhci = hcd_to_xhci(hcd);
|
||||
struct clk *clk = xhci->clk;
|
||||
|
||||
xhci->xhc_state |= XHCI_STATE_REMOVING;
|
||||
|
||||
usb_remove_hcd(xhci->shared_hcd);
|
||||
usb_phy_shutdown(hcd->usb_phy);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user