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

Commit 24f2defa authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa: enable IPA clock during SSR and power collapse"

parents 672d3eb9 50ad93d9
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -1064,11 +1064,14 @@ int ipa_init_q6_smem(void)
{
	int rc;

	ipa_inc_client_enable_clks();

	rc = ipa_init_smem_region(IPA_v2_RAM_MODEM_SIZE,
				  IPA_v2_RAM_MODEM_OFST);

	if (rc) {
		IPAERR("failed to initialize Modem RAM memory\n");
		ipa_dec_client_disable_clks();
		return rc;
	}

@@ -1077,9 +1080,12 @@ int ipa_init_q6_smem(void)

	if (rc) {
		IPAERR("failed to initialize Modem HDRs RAM memory\n");
		ipa_dec_client_disable_clks();
		return rc;
	}

	ipa_dec_client_disable_clks();

	return rc;
}

@@ -1412,6 +1418,8 @@ int ipa_q6_cleanup(void)
	int client_idx;
	int res;

	ipa_inc_client_enable_clks();

	if (ipa_q6_pipe_delay()) {
		IPAERR("Failed to delay Q6 pipes\n");
		BUG();
@@ -1441,6 +1449,7 @@ int ipa_q6_cleanup(void)
				BUG();
		}

	ipa_dec_client_disable_clks();
	return 0;
}