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

Commit 0f4b7af5 authored by Vijayavardhan Vennapusa's avatar Vijayavardhan Vennapusa
Browse files

dwc3-msm: Fix panic issue during unbind of msm_dwc3



During unbind of msm_dwc3, dwc3 core device will be removed due
to which dwc's ipc_log_buf will be freed. Hence remove dbg_event
after removing dwc3 core device as it access ipc_log_buf, which
is already freed to avoid panic.

Change-Id: I7e3d071f454afff4af900f07862327342842679f
Signed-off-by: default avatarVijayavardhan Vennapusa <vvreddy@codeaurora.org>
parent 351d8d23
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3707,7 +3707,6 @@ static int dwc3_msm_remove(struct platform_device *pdev)
		mdwc->hs_phy->flags &= ~PHY_HOST_MODE;
	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);