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

Commit 62ad167c authored by Amir Levy's avatar Amir Levy Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa3: disable rt / flt disable option



Ipa_v3 architecture does not support disabling the routing\filtering
blocks. This feature was supported in older architectures and is no
longer supported in ipa_v3 architecture.

Change-Id: I41e3ff4b22f41c91a7aac08052bb463b411c0160
Acked-by: default avatarAdy Abraham <adya@qti.qualcomm.com>
Signed-off-by: default avatarNadine Toledano <nadinet@codeaurora.org>
Signed-off-by: default avatarAmir Levy <alevy@codeaurora.org>
parent 7a350084
Loading
Loading
Loading
Loading
+7 −10
Original line number Diff line number Diff line
@@ -581,6 +581,11 @@ int ipa3_cfg_route(struct ipa3_route *route)
		route->route_def_hdr_ofst,
		route->route_frag_def_pipe);

	if (route->route_dis) {
		IPAERR("Route disable is not supported!\n");
		return -EPERM;
	}

	ipa3_inc_client_enable_clks();

	ipa3_ctx->ctrl->ipa3_cfg_route(route);
@@ -599,16 +604,8 @@ int ipa3_cfg_route(struct ipa3_route *route)
 */
int ipa3_cfg_filter(u32 disable)
{
	u32 ipa_filter_ofst = IPA_FILTER_OFST_v3_0;

	ipa3_inc_client_enable_clks();
	ipa_write_reg(ipa3_ctx->mmio, ipa_filter_ofst,
			IPA_SETFIELD(!disable,
					IPA_FILTER_FILTER_EN_SHFT,
					IPA_FILTER_FILTER_EN_BMSK));
	ipa3_dec_client_disable_clks();

	return 0;
	IPAERR("Filter disable is not supported!\n");
	return -EPERM;
}

/**