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

Commit 4213e61e authored by Ashok Vuyyuru's avatar Ashok Vuyyuru
Browse files

msm: ipa: disable status on ODL_DPL_CONS pipe above IPAv4.5 targets



ADPLv3 targets do not require status to be enabled on ODL_DPL pipe.
Make changes to disable the status for targets with IPAv4.5 and above.

Change-Id: Ica07a25a01e742928d3ecb19a88b7ee2305235ae
Signed-off-by: default avatarChaitanya Pratapa <cpratapa@codeaurora.org>
Signed-off-by: default avatarAshok Vuyyuru <avuyyuru@codeaurora.org>
parent 1bf0a890
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -3940,8 +3940,9 @@ static int ipa3_assign_policy(struct ipa_sys_connect_params *in,
			 * Dont enable ipa_status for APQ, since MDM IPA
			 * has IPA >= 4.5 with DPLv3.
			 */
			if (ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ &&
				ipa3_is_mhip_offload_enabled())
			if ((ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ &&
				ipa3_is_mhip_offload_enabled()) ||
				(ipa3_ctx->ipa_hw_type >= IPA_HW_v4_5))
				sys->ep->status.status_en = false;
			else
				sys->ep->status.status_en = true;