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

Commit 13d5a966 authored by Vignesh Kulothungan's avatar Vignesh Kulothungan Committed by Gerrit - the friendly Code Review server
Browse files

dsp: Initialize variable before use



Initialize variable before use in voice driver.

CRs-Fixed: 2209691
Change-Id: I84b51262b5c3cb12ea23372eb7c7109c6ff844b4
Signed-off-by: default avatarVignesh Kulothungan <vigneshk@codeaurora.org>
parent 52810d66
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -7903,7 +7903,7 @@ static int voice_alloc_oob_shared_mem(void)
	int cnt = 0;
	int rc = 0;
	size_t len;
	void *mem_addr;
	void *mem_addr = NULL;
	dma_addr_t phys;
	int bufsz = BUFFER_BLOCK_SIZE;
	int bufcnt = NUM_OF_BUFFERS;