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

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

Merge "usb: dwc3: core: Destroy ipc log context on remove"

parents 324146f8 29332259
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1724,6 +1724,8 @@ static int dwc3_remove(struct platform_device *pdev)

	ipc_log_context_destroy(dwc->dwc_ipc_log_ctxt);
	dwc->dwc_ipc_log_ctxt = NULL;
	ipc_log_context_destroy(dwc->dwc_dma_ipc_log_ctxt);
	dwc->dwc_dma_ipc_log_ctxt = NULL;
	count--;
	dwc3_instance[dwc->index] = NULL;