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

Commit 760a509f authored by Xiaoyu Ye's avatar Xiaoyu Ye Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: wcd934x-dsp-cntl: initialize local char array val



Due to the local char array that stores the codec dsp control command
is not initialized, an invalid command could cause the stack content
to be printed out in kernel dmesg. Initialize the array with memset.

Change-Id: I9573958fbe308c170c203a6a50a94d0540f3e7ce
Signed-off-by: default avatarXiaoyu Ye <benyxy@codeaurora.org>
parent 0dd9616f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment