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

Skip to content
Commit 6ffc8e90 authored by Karthik Reddy Katta's avatar Karthik Reddy Katta
Browse files

ASoC: msm: qdsp6v2: Fix memory allocation issues in audio_cal_utils



Incorrect pointer is used while allocating memory
for 'cal_block' pointer. Use proper pointer in kzalloc().

Memory of 'cal_block->cal_info' is not initialized to ZERO.
Use kzalloc() instead of kmalloc() to initialize this memory.

Change-Id: Ifbe1d91d68da81d058197af2a403c4b832b019fb
Signed-off-by: default avatarKarthik Reddy Katta <a_katta@codeaurora.org>
parent 3b5c8410
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