mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
ASoC: qcom: lpass-platform: Update warning print to control excess logging
Update dev_warn to dev_warn_ratelimit to control excess xrun logging in lpass platform driver. Signed-off-by: Srinivasa Rao Mandadapu <quic_srivasam@quicinc.com> Co-developed-by: Venkata Prasad Potturu <quic_potturu@quicinc.com> Signed-off-by: Venkata Prasad Potturu <quic_potturu@quicinc.com> Link: https://lore.kernel.org/r/1645792943-24845-1-git-send-email-quic_srivasam@quicinc.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
431f9a77a4
commit
5a5d2316a5
@ -986,7 +986,8 @@ static irqreturn_t lpass_dma_interrupt_handler(
|
||||
"error writing to irqclear reg: %d\n", rv);
|
||||
return IRQ_NONE;
|
||||
}
|
||||
dev_warn(soc_runtime->dev, "xrun warning\n");
|
||||
dev_warn_ratelimited(soc_runtime->dev, "xrun warning\n");
|
||||
|
||||
snd_pcm_stop_xrun(substream);
|
||||
ret = IRQ_HANDLED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user