ASoC: 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: I0d3d82bf52ea307cdf719f97c4907a2d376580c1
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
This commit is contained in:
Vatsal Bucha 2017-10-04 20:38:49 +05:30 • committed by Gerrit - the friendly Code Review server
commit 0527c56a87

View file

@ -2610,8 +2610,8 @@ 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",
__func__);
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;
else