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

Commit 060ba552 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "xhci: Fix NULL pointer dereference with xhci_irq() for shared_hcd"

parents 0ffec853 71c6541d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -434,10 +434,10 @@ static int xhci_plat_remove(struct platform_device *dev)

	device_remove_file(&dev->dev, &dev_attr_config_imod);
	usb_remove_hcd(shared_hcd);
	xhci->shared_hcd = NULL;
	usb_phy_shutdown(hcd->usb_phy);

	usb_remove_hcd(hcd);
	xhci->shared_hcd = NULL;
	usb_put_hcd(shared_hcd);

	if (!IS_ERR(clk))