usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers
am: cf09c7d60c
Change-Id: I5cab1e3af61dd148ff737ba1dc68935407342983
This commit is contained in:
commit
33451f0582
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue