dsp: Initialize variable before use
Initialize variable before use in voice driver. CRs-Fixed: 2209691 Change-Id: I84b51262b5c3cb12ea23372eb7c7109c6ff844b4 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
This commit is contained in:
parent
52810d665e
commit
13d5a9666a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue