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

Commit 79f2041c authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

ASoC: msm: qdsp6v2: Remove excess logs in compress driver



Excess logs are printed in msm_compr_pointer during ADSP SSR.
This causes failure of some interrupts to occur which
results in SSR failure. Logs can be reduced by applying ratelimit.

CRs-Fixed: 2128011
Change-Id: I9a6a5e0fed17154e201bce0d7fa2de91b6ec159d
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent f1ead4e3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2675,7 +2675,7 @@ static int msm_compr_pointer(struct snd_compr_stream *cstream,
		tstamp.copied_total = prtd->received_total;
	first_buffer = prtd->first_buffer;
	if (atomic_read(&prtd->error)) {
		pr_err("%s Got RESET EVENTS notification, return error\n",
		pr_err_ratelimited("%s Got RESET EVENTS notification, return error\n",
				   __func__);
		if (cstream->direction == SND_COMPRESS_PLAYBACK)
			runtime->total_bytes_transferred = tstamp.copied_total;