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

Commit 90ecba23 authored by yidongh's avatar yidongh Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarYidong Huang <yidongh@codeaurora.org>
parent 089d1cb5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -821,6 +821,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;