usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers

am: cf09c7d60c

Change-Id: I5cab1e3af61dd148ff737ba1dc68935407342983
This commit is contained in:
Guenter Roeck 2017-03-18 11:23:09 +00:00 committed by android-build-merger
commit 33451f0582

View file

@ -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);