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

Commit 9da7a722 authored by Arun KS's avatar Arun KS
Browse files

msm: sps: Initialize local variables



This patch initializes the local variables desc_iova and data_iova.

Change-Id: Ia93669f0f60b967d9339366268f3c2fff6575780
Signed-off-by: default avatarArun KS <arunks@codeaurora.org>
parent 65119ded
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -176,8 +176,8 @@ static int sps_rm_assign(struct sps_pipe *pipe,
			 struct sps_connection *map)
{
	struct sps_connect *cfg = &pipe->connect;
	unsigned long desc_iova;
	unsigned long data_iova;
	unsigned long desc_iova = 0;
	unsigned long data_iova = 0;

	/* Check ownership and BAM */
	if ((cfg->mode == SPS_MODE_SRC && map->client_src != NULL) ||