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

Commit 65a643f0 authored by Ghanim Fodi's avatar Ghanim Fodi Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa: Ignore IPA SMP2P Probe for APQ platforms



On APQ platforms, there is no modem. Thus IPA SMP2P
communication with it is irrelevant.

Change-Id: Idf8e96a71cae8bd3a0b8012dd89314d7b5596135
Signed-off-by: default avatarGhanim Fodi <gfodi@codeaurora.org>
parent 0afb42c2
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -4325,6 +4325,11 @@ static void ipa3_freeze_clock_vote_and_notify_modem(void)
	int res;
	struct ipa_active_client_logging_info log_info;

	if (ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ) {
		IPADBG("Ignore smp2p on APQ platform\n");
		return;
	}

	if (ipa3_ctx->smp2p_info.res_sent)
		return;

@@ -6561,6 +6566,11 @@ static int ipa3_smp2p_probe(struct device *dev)
		return -EPROBE_DEFER;
	}
	IPADBG("node->name=%s\n", node->name);
	if (ipa3_ctx->platform_type == IPA_PLAT_TYPE_APQ) {
		IPADBG("Ignore smp2p on APQ platform\n");
		return 0;
	}

	if (strcmp("qcom,smp2p_map_ipa_1_out", node->name) == 0) {
		if (of_find_property(node, "qcom,smem-states", NULL)) {
			ipa3_ctx->smp2p_info.smem_state =