Message ID | 1645792943-24845-1-git-send-email-quic_srivasam@quicinc.com |
---|---|
State | Accepted |
Commit | 5a5d2316a5292222383d4e3589b8f5144f7c9b49 |
Headers | show |
Series | ASoC: qcom: lpass-platform: Update warning print to control excess logging | expand |
diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c index b3af971..1ce0878 100644 --- a/sound/soc/qcom/lpass-platform.c +++ b/sound/soc/qcom/lpass-platform.c @@ -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; }