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

Commit cb01df53 authored by Jeff Hugo's avatar Jeff Hugo
Browse files

msm: ipa: Use smem_alloc()



smem_alloc2() is deprecated.  Use the preferred function, smem_alloc(),
instead.

Change-Id: I12494cf3eee399d0139e8a695a78a3feaf838531
Signed-off-by: default avatarJeffrey Hugo <jhugo@codeaurora.org>
parent 438ca570
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -468,8 +468,10 @@ int ipa_bridge_init(void)
{
	int i;

	ipa_ctx->smem_pipe_mem = smem_alloc2(SMEM_BAM_PIPE_MEMORY,
			IPA_SMEM_PIPE_MEM_SZ);
	ipa_ctx->smem_pipe_mem = smem_alloc(SMEM_BAM_PIPE_MEMORY,
			IPA_SMEM_PIPE_MEM_SZ,
			0,
			SMEM_ANY_HOST_FLAG);
	if (!ipa_ctx->smem_pipe_mem) {
		IPAERR("smem alloc failed\n");
		return -ENOMEM;