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

Commit 1247627b 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: fix ipacm_client usage"

parents 4fc2526a 53f855e3
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -940,6 +940,11 @@ enum ipacm_client_enum ipa2_get_client(int pipe_idx)
 */
bool ipa2_get_client_uplink(int pipe_idx)
{
	if (pipe_idx < 0 || pipe_idx >= IPA_MAX_NUM_PIPES) {
		IPAERR("invalid pipe idx %d\n", pipe_idx);
		return false;
	}

	return ipa_ctx->ipacm_client[pipe_idx].uplink;
}

+5 −0
Original line number Diff line number Diff line
@@ -2262,6 +2262,11 @@ enum ipacm_client_enum ipa3_get_client(int pipe_idx)
 */
bool ipa3_get_client_uplink(int pipe_idx)
{
	if (pipe_idx < 0 || pipe_idx >= IPA3_MAX_NUM_PIPES) {
		IPAERR("invalid pipe idx %d\n", pipe_idx);
		return false;
	}

	return ipa3_ctx->ipacm_client[pipe_idx].uplink;
}