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:
Karthik Reddy Katta <a_katta@codeaurora.org>
Loading
Please register or sign in to comment