mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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:
parent
abebf0b484
commit
0527c56a87
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue