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

Commit 4fe34dd0 authored by Sivan Reinstein's avatar Sivan Reinstein Committed by Matt Wagantall
Browse files

msm: ipa: remove IPA Modem pipe reset for IPAv2.6 HW versions



The workaround which required IPA AP driver to reset Modem IPA Pipes
in a SSR scenario is no longer required for MSMs with IPA v2.6 HW
and on.

CRs-fixed: 840244
Change-Id: I90ed686a1697f600cdc69e43e8c6dd8032034293
Acked-by: default avatarDavid Arinzon <darinzon@qti.qualcomm.com>
Signed-off-by: default avatarSivan Reinstein <sivanr@codeaurora.org>
parent 1ce2ea3d
Loading
Loading
Loading
Loading
+19 −17
Original line number Diff line number Diff line
@@ -1597,10 +1597,12 @@ int ipa_q6_cleanup(void)
		BUG();
	}

	/* This workaround is required for pre IPA2.6HW MSMs */
	if (ipa_ctx->ipa_hw_type < IPA_HW_v2_5) {
		/*
		 * Q6 relies on the AP to reset all Q6 IPA pipes.
	 * In case the uC is not loaded, or upon any failure in the pipe reset
	 * sequence, we have to assert.
		 * In case the uC is not loaded, or upon any failure in the
		 * pipe reset sequence, we have to assert.
		 */
		if (!ipa_ctx->uc_ctx.uc_loaded) {
			IPAERR("uC is not loaded, can't reset Q6 pipes\n");
@@ -1614,7 +1616,7 @@ int ipa_q6_cleanup(void)
				if (res)
					BUG();
			}

	}
	ipa_ctx->q6_proxy_clk_vote_valid = true;
	return 0;
}