Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 384a102d authored by Guenter Roeck's avatar Guenter Roeck Committed by android-build-merger
Browse files

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

am: 24db1c5a

Change-Id: I90e3e3aea8ae3d7a3e25067039815fe87c421a9b
parents 6aabbf66 24db1c5a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -274,6 +274,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);