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

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

Merge "usb: dwc3: Prevent use after free of dwc_ipc_log_ctx"

parents 8dc3e3a2 bbbaf52d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4604,10 +4604,10 @@ static int dwc3_msm_remove(struct platform_device *pdev)

	if (mdwc->hs_phy)
		mdwc->hs_phy->flags &= ~PHY_HOST_MODE;
	dbg_event(0xFF, "Remov put", 0);
	platform_device_put(mdwc->dwc3);
	of_platform_depopulate(&pdev->dev);

	dbg_event(0xFF, "Remov put", 0);
	pm_runtime_disable(mdwc->dev);
	pm_runtime_barrier(mdwc->dev);
	pm_runtime_put_sync(mdwc->dev);