ASoC: APR: initialize struct member before being used
Initialize member value of struct apr_client_data after declaration. CRs-Fixed: 2091948 Change-Id: I8a185ebd4126f7d064de90bf652bc96c2ab7b408 Signed-off-by: Yidong Huang <yidongh@codeaurora.org>
This commit is contained in:
parent
cb1c821645
commit
4c78ad9740
1 changed files with 1 additions and 0 deletions
|
@ -820,6 +820,7 @@ static void dispatch_event(unsigned long code, uint16_t proc)
|
|||
uint16_t clnt;
|
||||
int i, j;
|
||||
|
||||
memset(&data, 0, sizeof(data));
|
||||
data.opcode = RESET_EVENTS;
|
||||
data.reset_event = code;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue