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

Commit 11b2765b authored by Michael Adisumarta's avatar Michael Adisumarta Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa4: Enable SSR for IPAv4



Re-enable SSR. Move q6 ch halt from after shutdown to before
shutdown and remove consumer check for IPAv4 and beyond.

Change-Id: I9bcff8ad242f996160373d4b278833d02cad3fbb
CRs-fixed: 2203491
Signed-off-by: default avatarMichael Adisumarta <madisuma@codeaurora.org>
parent 328baae1
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -2664,11 +2664,16 @@ static int ipa3_ssr_notifier_cb(struct notifier_block *this,
		ipa_stop_polling_stats();
		if (atomic_read(&rmnet_ipa3_ctx->is_initialized))
			platform_driver_unregister(&rmnet_ipa_driver);

		if (atomic_read(&rmnet_ipa3_ctx->is_ssr) &&
			ipa3_ctx->ipa_hw_type >= IPA_HW_v4_0)
			ipa3_q6_post_shutdown_cleanup();
		IPAWANINFO("IPA BEFORE_SHUTDOWN handling is complete\n");
		break;
	case SUBSYS_AFTER_SHUTDOWN:
		IPAWANINFO("IPA Received MPSS AFTER_SHUTDOWN\n");
		if (atomic_read(&rmnet_ipa3_ctx->is_ssr))
		if (atomic_read(&rmnet_ipa3_ctx->is_ssr) &&
			ipa3_ctx->ipa_hw_type < IPA_HW_v4_0)
			ipa3_q6_post_shutdown_cleanup();
		IPAWANINFO("IPA AFTER_SHUTDOWN handling is complete\n");
		break;