ASoC: dwc: limit the number of overrun messages
stable inclusion from stable-v5.10.183 commit 5ee83fef0c24469a69a03bf3075fe23c9f7feb14 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2 Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5ee83fef0c24469a69a03bf3075fe23c9f7feb14 -------------------------------- [ Upstream commit ab6ecfbf ] On slow CPU (FPGA/QEMU emulated) printing overrun messages from interrupt handler to uart console may leads to more overrun errors. So use dev_err_ratelimited to limit the number of error messages. Signed-off-by:Maxim Kochetkov <fido_max@inbox.ru> Link: https://lore.kernel.org/r/20230505062820.21840-1-fido_max@inbox.ru Signed-off-by:
Mark Brown <broonie@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment