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

Commit fdaada5e 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 73aa7032 51aa66ca
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -994,6 +994,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
@@ -1791,6 +1791,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;
}