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

Commit 130b0f89 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "qdsp5: audio: Initialize local variable stats"

parents ede13cb6 470d1d46
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -802,6 +802,7 @@ static long audamrnb_ioctl(struct file *file, unsigned int cmd,

	if (cmd == AUDIO_GET_STATS) {
		struct msm_audio_stats stats;
		memset(&stats, 0, sizeof(struct msm_audio_stats));
		stats.byte_count = audpp_avsync_byte_count(audio->dec_id);
		stats.sample_count = audpp_avsync_sample_count(audio->dec_id);
		if (copy_to_user((void *)arg, &stats, sizeof(stats)))