Merge "ASoC: msm: qdspv2: initialize struct member before being used"
This commit is contained in:
commit
8d5b593bef
1 changed files with 2 additions and 0 deletions
|
@ -1062,6 +1062,8 @@ static int audio_aio_async_write(struct q6audio_aio *audio,
|
|||
struct audio_client *ac;
|
||||
struct audio_aio_write_param param;
|
||||
|
||||
memset(¶m, 0, sizeof(param));
|
||||
|
||||
if (!audio || !buf_node) {
|
||||
pr_err("%s NULL pointer audio=[0x%pK], buf_node=[0x%pK]\n",
|
||||
__func__, audio, buf_node);
|
||||
|
|
Loading…
Add table
Reference in a new issue