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

Commit fbfddd63 authored by Siva Kumar Akkireddi's avatar Siva Kumar Akkireddi Committed by Gerrit - the friendly Code Review server
Browse files

msm: mhi_dev: Disable IPA DMA during MHI cleanup



Call IPA API to disable DMA for proper reference  count
management in the IPA driver.

Change-Id: I9bb741dc8d3c24dfd6e03b1c324eb47dccc2526c
Signed-off-by: default avatarSiva Kumar Akkireddi <sivaa@codeaurora.org>
parent ecbb3684
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1142,6 +1142,7 @@ int mhi_dev_sm_exit(struct mhi_dev *mhi_dev)
	flush_workqueue(mhi_sm_ctx->mhi_sm_wq);
	destroy_workqueue(mhi_sm_ctx->mhi_sm_wq);
	/* Initiate MHI IPA reset */
	ipa_dma_disable();
	ipa_mhi_destroy();
	ipa_dma_destroy();
	mutex_destroy(&mhi_sm_ctx->mhi_state_lock);